Skip to content

Implicitly convert strings in type userdata methods that accept a key arg and allow strings as keys in the props table of types.newtable #113

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gaymeowing
Copy link
Contributor

@gaymeowing gaymeowing commented Apr 7, 2025

RFC name is a mouthful, but couldn't think of a better name.

Rendered

@gaymeowing
Copy link
Contributor Author

Realized it'd be good for types.unionof() to accept string args aswell, but debating on if it should be included or if a new rfc for a new method should be made (currently thinking of having types.enum("meow", "mrrp") with it returning "meow" | "mrrp").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant