VSCode linter warning "A non-DataType has been used in a type declaration statement."

jishnub
Thu, 22 Aug 2024 12:31:36 +0000
VS Code

Why does the VSCode extension highlight such cases as “A non-DataType has been used in a type declaration statement.”, when this is a valid type declaration? I understand that this may be disabled, but what is the purpose of this warning?

2 posts - 2 participants