Skip to content

Commit 1a2ade7

Browse files
committed
fix: ts declarations
1 parent e9e74e2 commit 1a2ade7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/lib.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
export { TextEncoder, TextDecoder }
1+
type Encoder = TextEncoder
2+
type Decoder = TextDecoder
3+
4+
export { Encoder as TextEncoder, Decoder as TextDecoder }

0 commit comments

Comments
 (0)