14 lines
267 B
TypeScript
14 lines
267 B
TypeScript
|
// @experimentalDecorators: true
|
||
|
// @emitDecoratorMetadata: true
|
||
|
// @target: es5
|
||
|
module MyModule {
|
||
|
|
||
|
export function inject(target: any, key: string): void { }
|
||
|
|
||
|
export class Leg { }
|
||
|
|
||
|
export class Person {
|
||
|
@inject leftLeg: Leg;
|
||
|
}
|
||
|
|
||
|
}
|