Revision 0.32.6 (#724)

* Export TTemplateLiteralSyntax Infrastructure

* Export TDecodeType, TDecodeRest and TDecodeProperties

* Normalize Mapped Types, Drop TCompositeResolve

* Export KeyOf Infrastructure

* Export Awaited, Exclude, Extract, Pick, Omit and Mapped ReturnType
This commit is contained in:
sinclairzx81
2024-01-10 11:25:14 +09:00
committed by GitHub
parent 767ff8726e
commit 4c0b764cf9
20 changed files with 175 additions and 179 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import { Expect } from './assert'
}
{
const T = Type.Extract(Type.String(), Type.Number())
Expect(T).ToStatic<string>()
Expect(T).ToStaticNever()
}
{
const T = Type.Extract(Type.Union([Type.Number(), Type.String(), Type.Boolean()]), Type.Number())