Run internal samples with skipLibCheck: false
?
#10826
Labels
0 - new
New issues that need assignment.
needs milestone
Planning workflow - pending milestone assignment, has priority and/or estimate.
p - low
Issue is non core or affecting less that 10% of people using the library
testing
Issues related to automated or manual testing.
Priority impact
p - low
Test type
Integration
Which Component(s)
all
Unstable Tests
No response
Test error, if applicable
Calcite's samples at the moment appear to set the
skipLibCheck: true
option:https://github.com/Esri/calcite-design-system/blob/main/examples/components/react/tsconfig.app.json#L7
This option disables type-checking of Calcite's output .d.ts files. While the option is commonly recommended, it is not on by default in TypeScript, not on by default in many starter templates out there, and can not be enabled in some projects (like JS API).
Thus, it might be advisable for Calcite's internal samples testing to also have this option disabled, to opt into additional checks.
This check will detect issues like the following earlier in the future, before they affect consumers:
PR skipped, if applicable
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered: