Skip to content

Conversation

cprecioso
Copy link

@cprecioso cprecioso commented Apr 29, 2025

As the TypeScript Handbook says:

Don’t ever use the types Number, String, Boolean, Symbol, or Object These types refer to non-primitive boxed objects that are almost never used appropriately in JavaScript code.
Do use the types number, string, boolean, and symbol.

Unless there is a specific reason to use Symbol, we should probably use symbol. Just checking because we are copying these types into our framework, and flagged this in our review: wasp-lang/wasp#2672 (comment)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant