Skip to content

Conversation

@Yazawazi
Copy link
Collaborator

Trying to add support for the bigint type.

return (
<InputBase
value={value}
value={type === 'bigint' ? `${value}` : value}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just treat everything as ${value}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should detect the type in the createEasyType function. That's not what it supposed should do

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, type checking needs to be done in the function, not in the expression, but except for string and number, it seems that there are few types that need to be converted?

@himself65 himself65 linked an issue Sep 20, 2022 that may be closed by this pull request
@himself65 himself65 merged commit eaa2239 into TexteaInc:main Sep 20, 2022
Yazawazi added a commit that referenced this pull request Mar 10, 2023
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.

support bigint

2 participants