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

fix: restore mxDictionary map index signature parameter set to string #37

Merged
merged 1 commit into from
May 1, 2021

Conversation

tbouffard
Copy link
Member

Fix error TS1023: An index signature parameter type must be either 'string' or
'number'. In addition, references to mxgraph javascript code is available to
explain why the key is a string.

skipLibCheck is now set to false in the tsconfig.json file. So, tsc run
prior checking the tests will fail in case of TS errors and we will be alerted
before integrating such problem in the repository.
Projects integrating typed-mxgraph will also be able to use this option without
errors coming from the mxgraph types.

Fix error TS1023: An index signature parameter type must be either 'string' or
'number'. In addition, references to mxgraph javascript code is available to
explain why the key is a string.

`skipLibCheck` is now set to `false` in the tsconfig.json file. So, tsc run
prior checking the tests will fail in case of TS errors and we will be alerted
before integrating such problem in the repository.
Projects integrating typed-mxgraph will also be able to use this option without
errors coming from the mxgraph types.
@tbouffard tbouffard added the bug Something isn't working label Apr 23, 2021
@tbouffard
Copy link
Member Author

This has been introduced in #31 by myself, sorry for the inconvenience.
Issue detected in process-analytics/bpmn-visualization-js#1224
cc @csouchet @aibcmars

@tbouffard tbouffard requested a review from hungtcs April 23, 2021 15:57
@hungtcs hungtcs merged commit 017a53b into master May 1, 2021
@hungtcs hungtcs deleted the fix/mxDictionnary branch May 1, 2021 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants