Skip to content

Commit

Permalink
fix(types): define type module per entry;
Browse files Browse the repository at this point in the history
- Closes #21
  • Loading branch information
lukeed committed Aug 17, 2020
1 parent 91fc085 commit 107e22f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
export function klona<T>(input: T): T;
declare module 'klona' {
export function klona<T>(input: T): T;
}

declare module 'klona/lite' {
export function klona<T>(input: T): T;
}

declare module 'klona/json' {
export function klona<T>(input: T): T;
}

declare module 'klona/full' {
export function klona<T>(input: T): T;
}

0 comments on commit 107e22f

Please sign in to comment.