Releases: lbguilherme/as-typed
Releases · lbguilherme/as-typed
1.3.2
1.3.1
- Update dependencies
1.3.0
- Major refactor simplifying some types, producing a codebase about 33% smaller.
- Implement
oneOf
insideallOf
.
1.2.0
1.1.3
- Code cleanup
- Expand all types to improve developer UX
1.1.2
- Fix: Support tuples inside
anyOf
/oneOf
/allOf
:
AsTyped<{
oneOf: [
{ type: "string" },
{ type: "array"; items: [{ type: "string" }, { type: "string" }] }
]
}> // string | [string, string]
1.1.1
- Allow
type
to be an array:
AsTyped<{ type: ["string", "null"] }> // string | null
AsTyped<{ type: ["number", "boolean" | "null"] }> // number | boolean | null
- Allow
nullable
:
AsTyped<{ type: "string"; nullable: true }> // string | null
1.0.0
ci: add action for release