- Rename package from @sinclair/typebox to @alkdev/typebox - Update author, repository, and homepage to alkdev - Remove GitHub workflows, .vscode config, and branding assets - Update all source, test, example, changelog, and task imports - Update tsconfig.json path mappings - Clean up readme header (remove upstream badges/branding)
9 lines
210 B
TypeScript
9 lines
210 B
TypeScript
import { Expect } from './assert'
|
|
import { Type } from '@alkdev/typebox'
|
|
|
|
Expect(Type.Literal('hello')).ToStatic<'hello'>()
|
|
|
|
Expect(Type.Literal(true)).ToStatic<true>()
|
|
|
|
Expect(Type.Literal(42)).ToStatic<42>()
|