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
The following code is expected to work but currently does not compile:
interfaceI1{b?: boolean}interfaceI2{n: number}typeDependencies={group: {Service1?: I1}}typeContext={group: {Service2: I2}}// ERROR: Type '{ Service1: () => I1; }' is not assignable to type 'never'.ts(2322)exportconstx={group: {Service1: ()=>({b: true})}}satisfiesModule<Context,Dependencies>;
Bug Report
Djinject version: 0.5.0
The following code is expected to work but currently does not compile:
Workaround:
The current behavior
Type of
x
isThe expected behavior
Type of
x
isThe text was updated successfully, but these errors were encountered: