mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-15 12:42:26 +08:00
Verify in crypto extends WritableStream
This commit is contained in:
1 parent
e5de5c4daf
commit
e63ff8f99a
1 file changed
+1
-1
Vendored
+1
-1
@@ -1094,7 +1094,7 @@ declare module "crypto" {
|
||||
sign(private_key: string, output_format: string): string;
|
||||
}
|
||||
export function createVerify(algorith: string): Verify;
|
||||
interface Verify {
|
||||
interface Verify extends NodeJS.WritableStream {
|
||||
update(data: any): void;
|
||||
verify(object: string, signature: string, signature_format?: string): boolean;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user