chore: add type generation from jsdoc (#64)

This commit is contained in:
Marin Petrunić
2020-09-30 11:21:11 +02:00
committed by GitHub
parent c43e8e26bd
commit eacdc246da
27 changed files with 851 additions and 20 deletions

15
src/crypto/errors.d.ts vendored Normal file
View File

@ -0,0 +1,15 @@
export class UnexpectedPeerError extends Error {
static get code(): string;
constructor(message?: string);
code: string;
}
export class InvalidCryptoExchangeError extends Error {
static get code(): string;
constructor(message?: string);
code: string;
}
export class InvalidCryptoTransmissionError extends Error {
static get code(): string;
constructor(message?: string);
code: string;
}