Skip to content

Conversation

@dynst
Copy link

@dynst dynst commented Oct 25, 2025

Description:

Update @types/node and add some recommended options to tsconfig, including turning on noImplicitOverride, and following changes in upstream Angular defaults angular/angular-cli#27988

Also fix this compile error that shows up with newer tsc versions:

error TS2345: Argument of type '{ default: ChaiPlugin; }' is not assignable to parameter of type 'ChaiPlugin'.
  Type '{ default: ChaiPlugin; }' provides no match for the signature '(chai: ChaiStatic, utils: ChaiUtils): void'.

BREAKING CHANGE:

Related issue (if exists):

dynst added 9 commits October 25, 2025 17:33
namespace import is broken, and only worked because it's the same as default import in CJS code (require()).

error TS2345: Argument of type '{ default: ChaiPlugin; }' is not assignable to parameter of type 'ChaiPlugin'.
  Type '{ default: ChaiPlugin; }' provides no match for the signature '(chai: ChaiStatic, utils: ChaiUtils): void'.
exports the function so a commonjs script can require() it directly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant