Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 3097228

Browse files
committed
fix: remove unecessary cast
1 parent bc13bac commit 3097228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/index.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const postgrest = new PostgrestClient<Database>(REST_URL)
9999
}
100100
// getting this w/o the cast, not sure why:
101101
// Parameter type Json is declared too wide for argument type Json
102-
expectType<Json>(data.bar as Json)
102+
expectType<Json>(data.bar)
103103
expectType<string>(data.baz)
104104
}
105105

0 commit comments

Comments
 (0)