npm install --save @types/certstream
This package contains type definitions for certstream (https://github.com/CaliDog/certstream-js#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/certstream.
declare namespace CertStreamClient {
type Callback = (message: any, context: any) => void;
}
declare class CertStreamClient {
context: any;
callback: CertStreamClient.Callback;
skipHeartbeats: boolean;
constructor(callback: CertStreamClient.Callback, skipHeartbeats?: boolean);
connect(url?: string): void;
}
export = CertStreamClient;
export as namespace CertStreamClient;
- Last updated: Wed, 09 Apr 2025 18:02:41 GMT
- Dependencies: none
These definitions were written by Jimmy Leung.