Fix lint for templates
This commit is contained in:
parent
512b03e284
commit
08c4d6ac7d
35 changed files with 79 additions and 68 deletions
types/templates
multisig
pubkey
pubkeyhash
witnesspubkeyhash
witnessscripthash
3
types/templates/multisig/input.d.ts
vendored
3
types/templates/multisig/input.d.ts
vendored
|
@ -1,5 +1,6 @@
|
|||
/// <reference types="node" />
|
||||
export declare function check(script: Buffer | Array<number | Buffer>, allowIncomplete?: boolean): boolean;
|
||||
import { Stack } from '../../payments';
|
||||
export declare function check(script: Buffer | Stack, allowIncomplete?: boolean): boolean;
|
||||
export declare namespace check {
|
||||
var toJSON: () => string;
|
||||
}
|
||||
|
|
3
types/templates/multisig/output.d.ts
vendored
3
types/templates/multisig/output.d.ts
vendored
|
@ -1,5 +1,6 @@
|
|||
/// <reference types="node" />
|
||||
export declare function check(script: Buffer | Array<number | Buffer>, allowIncomplete?: boolean): boolean;
|
||||
import { Stack } from '../../payments';
|
||||
export declare function check(script: Buffer | Stack, allowIncomplete?: boolean): boolean;
|
||||
export declare namespace check {
|
||||
var toJSON: () => string;
|
||||
}
|
||||
|
|
3
types/templates/pubkey/input.d.ts
vendored
3
types/templates/pubkey/input.d.ts
vendored
|
@ -1,5 +1,6 @@
|
|||
/// <reference types="node" />
|
||||
export declare function check(script: Buffer | Array<number | Buffer>): boolean;
|
||||
import { Stack } from '../../payments';
|
||||
export declare function check(script: Buffer | Stack): boolean;
|
||||
export declare namespace check {
|
||||
var toJSON: () => string;
|
||||
}
|
||||
|
|
3
types/templates/pubkey/output.d.ts
vendored
3
types/templates/pubkey/output.d.ts
vendored
|
@ -1,5 +1,6 @@
|
|||
/// <reference types="node" />
|
||||
export declare function check(script: Buffer | Array<number | Buffer>): boolean;
|
||||
import { Stack } from '../../payments';
|
||||
export declare function check(script: Buffer | Stack): boolean;
|
||||
export declare namespace check {
|
||||
var toJSON: () => string;
|
||||
}
|
||||
|
|
3
types/templates/pubkeyhash/input.d.ts
vendored
3
types/templates/pubkeyhash/input.d.ts
vendored
|
@ -1,5 +1,6 @@
|
|||
/// <reference types="node" />
|
||||
export declare function check(script: Buffer | Array<number | Buffer>): boolean;
|
||||
import { Stack } from '../../payments';
|
||||
export declare function check(script: Buffer | Stack): boolean;
|
||||
export declare namespace check {
|
||||
var toJSON: () => string;
|
||||
}
|
||||
|
|
3
types/templates/witnesspubkeyhash/input.d.ts
vendored
3
types/templates/witnesspubkeyhash/input.d.ts
vendored
|
@ -1,5 +1,6 @@
|
|||
/// <reference types="node" />
|
||||
export declare function check(script: Buffer | Array<number | Buffer>): boolean;
|
||||
import { Stack } from '../../payments';
|
||||
export declare function check(script: Buffer | Stack): boolean;
|
||||
export declare namespace check {
|
||||
var toJSON: () => string;
|
||||
}
|
||||
|
|
2
types/templates/witnessscripthash/input.d.ts
vendored
2
types/templates/witnessscripthash/input.d.ts
vendored
|
@ -1,5 +1,5 @@
|
|||
/// <reference types="node" />
|
||||
export declare function check(chunks: Array<Buffer>, allowIncomplete?: boolean): boolean;
|
||||
export declare function check(chunks: Buffer[], allowIncomplete?: boolean): boolean;
|
||||
export declare namespace check {
|
||||
var toJSON: () => string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue