DefinitelyTyped/types/web3
Julian Wilson 722809894a Update utils.d.ts to include isHexStrict method in @types/web3 (#29236)
* Update utils.d.ts to include `isHexStrict` method

As per the documentation in beta 36, there is a method `isHexStrict` method that checks if the passed string is hex and additionally starts with the '0x' prefix.

* Restrict parameters to number or string in `isHexStrict`.

* Remove superfluous string type in `isHexStrict`

* `isHexStrict`: add test case for number
2018-10-09 12:07:44 -07:00
..
eth
index.d.ts
promiEvent.d.ts
providers.d.ts
tsconfig.json
tslint.json
types.d.ts
utils.d.ts Update utils.d.ts to include isHexStrict method in @types/web3 (#29236) 2018-10-09 12:07:44 -07:00
web3-tests.ts Update utils.d.ts to include isHexStrict method in @types/web3 (#29236) 2018-10-09 12:07:44 -07:00