-
Notifications
You must be signed in to change notification settings - Fork 30
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
Generalize input for ModifyCSSFeedbackAction #103
Conversation
} | ||
} | ||
} | ||
|
||
function isStringArray(value: object): value is string[] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this method has high re-usability, do you think we can move it in a utility class somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Adapt `ModifyCSSFeedbackAction` to support both a string[] with the smodel ids or a SModelElement[] as input.
4879cf9
to
be53565
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good to me, thank you Tobias!
- Installed and configured ESLint, removed TSLint - Migrated TSLint rules to ESLint were applicable; added additional rules via eslint-plugins (i.e. header, import, no-null) - Updated VSCode settings and extension recommendations - Fix small issues that didn't match the linting rules - Ensure consistent single quote formatting Signed-off-by: Nina Doschek <[email protected]>
- Update settings and extension - Fix link to workspace file in README Signed-off-by: Nina Doschek <[email protected]>
- Installed and configured ESLint, removed TSLint - Migrated TSLint rules to ESLint were applicable; added additional rules via eslint-plugins (i.e. header, import, no-null) - Updated VSCode settings and extension recommendations - Fix small issues that didn't match the linting rules - Ensure consistent single quote formatting Signed-off-by: Nina Doschek <[email protected]>
- Installed and configured ESLint, removed TSLint - Migrated TSLint rules to ESLint were applicable; added additional rules via eslint-plugins (i.e. header, import, no-null) - Updated VSCode settings and extension recommendations - Fix small issues that didn't match the linting rules - Ensure consistent single quote formatting Signed-off-by: Nina Doschek <[email protected]>
Adapt
ModifyCSSFeedbackAction
to support both a string[] with the smodel ids or a SModelElement[] as input.