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

Unable to use const assertions #871

Open
siyaoL1 opened this issue Oct 5, 2021 · 0 comments
Open

Unable to use const assertions #871

siyaoL1 opened this issue Oct 5, 2021 · 0 comments

Comments

@siyaoL1
Copy link
Contributor

siyaoL1 commented Oct 5, 2021

In the field-list definition changing the line
parentId={{type: FieldParentType.FIELD_LIST as FieldParentType.FIELD_LIST}}
to
parentId={{type: FieldParentType.FIELD_LIST as const}}doesn't work.
Since const assertion was added on [email protected], which is not supported in our current typescript version.

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

No branches or pull requests

1 participant