Skip to content

Use 'type' as an attribute name in interface declaration #737

Answered by montymxb
luan-xiaokun asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @luan-xiaokun , this is something we're aware of. I also opened up an issue about this back in June. For now you can preface it with a ^ symbol to allow it, like ^type.

There is a more appropriate data type rule to allow additional property names (like type) internally, which you've found here in as well (FeatureName). It just needs to be added to handle property names in a PR.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@luan-xiaokun
Comment options

Answer selected by msujew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants