We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 04a025a + 16c494b commit 9ce3cd4Copy full SHA for 9ce3cd4
1 file changed
node/node.d.ts
@@ -1622,12 +1622,12 @@ declare module "crypto" {
1622
setAutoPadding(auto_padding: boolean): void;
1623
}
1624
export function createSign(algorithm: string): Signer;
1625
- interface Signer {
+ interface Signer extends NodeJS.WritableStream {
1626
update(data: any): void;
1627
sign(private_key: string, output_format: string): string;
1628
1629
export function createVerify(algorith: string): Verify;
1630
- interface Verify {
+ interface Verify extends NodeJS.WritableStream {
1631
1632
verify(object: string, signature: string, signature_format?: string): boolean;
1633
0 commit comments