Skip to content

Commit 7c3e892

Browse files
committed
chore: update Branded type
1 parent 7dfe927 commit 7c3e892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/try-catch-tuple/src/tryCatch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
type Branded<T> = T & { __tryCatchTupleResult: any };
1+
type Branded<T> = T & { __tryCatchTupleResult: never };
22

33
type DataErrorTuple<T, E> = Branded<
44
[data: T, error: E]

0 commit comments

Comments
 (0)