Open
Description
I seem to be hitting an error when I am trying to inject a property on my class.
export class ADFSRepository extends AuthFacade {
@Inject
private readonly dataSource: ADALDataSource
}
The injected value is bound, it is an abstract class, and it works perfectly fine if I force the Inject declaration to always go to the property declaration here
typescript-ioc/src/decorators.ts
Lines 149 to 150 in 623a58a
The issue seems to be that my
args
is an array of length 3, where the third argument is an object.
0: AuthFacade {constructor: ƒ, signInWithUsername: ƒ}
1: "dataSource"
2: {configurable: true, enumerable: true, writable: true, initializer: null}
length: 3
Metadata
Metadata
Assignees
Labels
No labels