New function typia.literals()
:
export function literals<T extends Atomic.Type>(): T[];
literals<"A" | 2 | false>(); // ["A", 2, false] as const
What's Changed
- Close #575 - new function
literals()
by @samchon in #576 - Fix #573 - exact import path generation by @samchon in #577
Full Changelog: v3.7.1...v3.7.2