mirror of
https://github.com/zoriya/typebox.git
synced 2026-05-24 23:45:32 +00:00
Revision 0.28.5 (#409)
This commit is contained in:
@@ -48,3 +48,17 @@ import { Type, Static } from '@sinclair/typebox'
|
||||
|
||||
Expect(R).ToInfer<never>()
|
||||
}
|
||||
{
|
||||
const A = Type.Object({})
|
||||
|
||||
const R = Type.Index(A, Type.BigInt()) // Support Overload
|
||||
|
||||
Expect(R).ToInfer<never>()
|
||||
}
|
||||
{
|
||||
const A = Type.Array(Type.Number())
|
||||
|
||||
const R = Type.Index(A, Type.BigInt()) // Support Overload
|
||||
|
||||
Expect(R).ToInfer<never>()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user