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
|
@ -56,6 +56,6 @@ export function check(
|
|||
|
||||
return false;
|
||||
}
|
||||
check.toJSON = () => {
|
||||
check.toJSON = (): string => {
|
||||
return 'scriptHash input';
|
||||
};
|
||||
|
|
|
@ -13,6 +13,6 @@ export function check(script: Buffer | Array<number | Buffer>): boolean {
|
|||
buffer[22] === OPS.OP_EQUAL
|
||||
);
|
||||
}
|
||||
check.toJSON = () => {
|
||||
check.toJSON = (): string => {
|
||||
return 'scriptHash output';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue