You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@microsoft/fast-foundation fails the library checks (example)
Error: ../../node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts(2252,66): error TS2344: Type 'T' does not satisfy the constraint 'string | number | boolean | symbol | any[] | Uint8Array | ({ createCSS?(): string; } & Record<PropertyKey, any>) | null'.
Type 'T' is not assignable to type'{ createCSS?(): string; } & Record<PropertyKey, any>'.
Type 'T' is not assignable to type'{ createCSS?(): string; }'.
Error: ../../node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts(2254,186): error TS2344: Type 'T' does not satisfy the constraint 'string | number | boolean | symbol | any[] | Uint8Array | ({ createCSS?(): string; } & Record<PropertyKey, any>) | null'.
Type 'T' is not assignable to type'{ createCSS?(): string; } & Record<PropertyKey, any>'.
Type 'T' is not assignable to type'{ createCSS?(): string; }'.
Error: ../../node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts(2256,121): error TS2344: Type 'T' does not satisfy the constraint 'string | number | boolean | symbol | {} | any[] | Uint8Array | null'.
💁 Possible Solution
Pin the version declared by @microsoft/fast-foundation, 4.6.2 (example).
🔦 Context
Upgrading Angular and ESLint upgrades TS.
🌍 Your Environment
OS & Device: Windows
Version: nimble-angular@8.4.7
The text was updated successfully, but these errors were encountered:
With the #1000 update all of our packages (except one build tool) are resolving to TS 4.6.4 and the version in the root was removed. I have not seen intermittent build failures since the Angular 14 upgrade or issues regenerating the lockfile.
So as described I think this bug is resolved. We do need to still get TS 4.8 working and I'll repurpose #810 for that
🐛 Bug Report
The nimble-components and nimble-angular builds fail intermittently with TS 4.6.4.
💻 Repro or Code Sample
npm install
.npm install --no-save typescript@4.6.4
.npm run build
.🤔 Expected Behavior
The build should pass.
😯 Current Behavior
@microsoft/fast-foundation fails the library checks (example)
💁 Possible Solution
Pin the version declared by @microsoft/fast-foundation, 4.6.2 (example).
🔦 Context
Upgrading Angular and ESLint upgrades TS.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: