Skip to content

Commit

Permalink
feat: don't make tagged type compatibility dependent on type-fest ver…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
ethanresnick committed May 6, 2024
1 parent 531414d commit 21fbe7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,8 @@
"compilerOptions": {
"noUnusedLocals": false
}
},
"dependencies": {
"tagged-tag": "^0.1.0"
}
}
2 changes: 1 addition & 1 deletion source/tagged.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare const tag: unique symbol;
import type tag from 'tagged-tag';

export type TagContainer<Token> = {
readonly [tag]: Token;
Expand Down

0 comments on commit 21fbe7b

Please sign in to comment.