-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e224d8
commit 1a5016d
Showing
13 changed files
with
396 additions
and
76 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
import * as jspb from "google-protobuf" | ||
export declare function errorCode(err: unknown): { | ||
export declare function errorCode(err: any): { | ||
valid: boolean | ||
code: number | ||
} | ||
export declare function isAbortedError(err: unknown): boolean | ||
export declare function isConflictError(err: unknown): boolean | ||
export declare function isUnauthenticatedError(err: unknown): boolean | ||
export declare function isAbortedError(err: any): boolean | ||
export declare function isConflictError(err: any): boolean | ||
export declare function isUnauthenticatedError(err: any): boolean | ||
export declare function promisify1<A, T>( | ||
f: (arg: A, cb: (err?: Error, res?: T) => void) => void, | ||
thisContext?: unknown, | ||
thisContext?: any, | ||
): (arg: A) => Promise<T> | ||
export declare function promisify3<A, B, C, T>( | ||
f: (argA: A, argB: B, argC: C, cb: (err?: Error, res?: T) => void) => void, | ||
thisContext?: unknown, | ||
thisContext?: any, | ||
): (argA: A, argB: B, argC: C) => Promise<T> | ||
export declare function stringifyMessage(msg: jspb.Message): string | ||
export { isBase64 } from "is-base64" | ||
export declare function strToB64(str: string): string | ||
export declare function strToU8(str: string): Uint8Array | ||
export declare function b64ToStr(b64Str: string): string | ||
export declare function u8ToStr(arr: Uint8Array): string | ||
export declare function strToJson(jsonStr: string): unknown | ||
export declare function strToJson(jsonStr: string): any |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.