Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close #575 - new function literals() #576

Merged
merged 1 commit into from
Apr 7, 2023
Merged

Close #575 - new function literals() #576

merged 1 commit into from
Apr 7, 2023

Conversation

samchon
Copy link
Owner

@samchon samchon commented Apr 7, 2023

export function literals<T extends Atomic.Type>(): T[];

literals<"A" | 2 | false>(); // ["A", 2, false] as const

@samchon samchon added the enhancement New feature or request label Apr 7, 2023
@samchon samchon self-assigned this Apr 7, 2023
@samchon samchon merged commit 099b0d6 into master Apr 7, 2023
samchon added a commit that referenced this pull request Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant