-
Notifications
You must be signed in to change notification settings - Fork 72
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
dtslint errors #789
Comments
This issue is caused by this open dtslint bug issue dating to 2019. This closed DTSLint issues outlines the strategy for the $ExpectType parser expecting union types to be sorted alphabetically: As we can see from the error msg $ExpectType is looking for the
Possible solutions to this issues are:
As we are generating a ts declaration file for the ros messages, I believe we should strive to conform to the strategy used by tsc to generate declaration files. I'm looking into option 2 to assess the difficulty and risk. I don't think it will be too much work. |
I propose we disable DTSLint $ExpectType tests for union types until the union type ordering of the $ExpectType parser is better understood. tldr;
results in an error Until we know the exact ordering of union types as applied by the ExpectType parser I propose we follow the path of the React team and disable our DTSLint $ExpectType tests for union types. |
See details: https://travis-ci.org/github/RobotWebTools/rclnodejs/builds/771382735#L27056
@wayneparrott would you please have a look if you have time, thanks!
The text was updated successfully, but these errors were encountered: