mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Signer is writable stream in crypto
This commit is contained in:
Vendored
+1
-1
@@ -1089,7 +1089,7 @@ declare module "crypto" {
|
||||
setAutoPadding(auto_padding: boolean): void;
|
||||
}
|
||||
export function createSign(algorithm: string): Signer;
|
||||
interface Signer {
|
||||
interface Signer extends NodeJS.WritableStream {
|
||||
update(data: any): void;
|
||||
sign(private_key: string, output_format: string): string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user