Skip to content

Commit

Permalink
fix type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Skinner committed Apr 25, 2024
1 parent c4bc810 commit 3d1a692
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions cuid.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
declare module '@bugsnag/cuid' {
export function fingerprint(): string
export function isCuid(value: unknown): value is string
declare function cuid(): string;
declare namespace cuid {
function fingerprint(): string
function isCuid(value: unknown): value is string

export default function cuid(): string
export { fingerprint };
export { isCuid };
}

export = cuid;

0 comments on commit 3d1a692

Please sign in to comment.