Issue
SonarLint gives the following and I have not found how to solve it since it is a global variable.
Solution
Do what the linter says. Create alias for union type.
type InformationType = 'someValue' | 'anotherValue';
// ....
informationType: InformationType;
Answered By - Edmunds Folkmanis
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.