@inversifyjs/core
Version:
InversifyJs core package
24 lines • 815 B
JavaScript
import { ClassElementMetadataKind } from '../models/ClassElementMetadataKind.js';
export class ManagedClassElementMetadataFixtures {
static get any() {
return {
kind: ClassElementMetadataKind.singleInjection,
name: undefined,
optional: false,
tags: new Map(),
value: Symbol(),
};
}
static get withIsFromTypescriptParamTypeTrue() {
return {
...ManagedClassElementMetadataFixtures.any,
isFromTypescriptParamType: true,
};
}
static get withNoIsFromTypescriptParamType() {
const fixture = ManagedClassElementMetadataFixtures.any;
delete fixture.isFromTypescriptParamType;
return fixture;
}
}
//# sourceMappingURL=ManagedClassElementMetadataFixtures.js.map