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
We use brandi@5.0.0 in our project and it worked well with TypeScript@4.6.4. But recently we had to update TypeScript version up to 4.9.5 and now we are facing with the following compilation error:
node_modules/.pnpm/brandi@5.0.0/node_modules/brandi/lib/typings/types.d.ts:5:70 - error TS2344: Type 'T' does not satisfy the constraint 'object'.
node_modules/.pnpm/brandi@5.0.0/node_modules/brandi/lib/typings/types.d.ts:5:36
5 export declare type UnknownCreator<T = unknown> = UnknownConstructor | UnknownFunction;
~~~~~~~~~~~
This type parameter might need an extends object constraint.
Could you fix it?
The text was updated successfully, but these errors were encountered:
We use brandi@5.0.0 in our project and it worked well with TypeScript@4.6.4. But recently we had to update TypeScript version up to 4.9.5 and now we are facing with the following compilation error:
Could you fix it?
The text was updated successfully, but these errors were encountered: