Files
typebox/test/static/tuple.ts
sinclair 13d553220c Publish
2025-12-24 15:44:34 +09:00

11 lines
239 B
TypeScript

import { Expect } from './assert'
import { Type, Static } from '@sinclair/typebox'
{
const T = Type.Tuple([Type.Number(), Type.String(), Type.Boolean()])
type T = Static<typeof T>
Expect(T).ToStatic<[number, string, boolean]>()
}