ci: add a tslint rule to require type definitions
This commit is contained in:
parent
74375bfedf
commit
0cdd7b1e2c
21 changed files with 36 additions and 30 deletions
ts_src
|
@ -8,7 +8,7 @@ export function UInt31(value: number): boolean {
|
|||
export function BIP32Path(value: string): boolean {
|
||||
return typeforce.String(value) && !!value.match(/^(m\/)?(\d+'?\/)*\d+'?$/);
|
||||
}
|
||||
BIP32Path.toJSON = () => {
|
||||
BIP32Path.toJSON = (): string => {
|
||||
return 'BIP32 derivation path';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue