mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-30 11:14:27 +08:00
Verify in crypto extends WritableStream
This commit is contained in:
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