idx.ts (348B)
1 export function Index(): ParameterDecorator { 2 return function(target: any, propertyKey: string | symbol | undefined, index: number) { 3 // TBD 4 // const paramTypes: any[] = Reflect.getMetadata('design:paramtypes', target); 5 // paramTypes[index] = identifier; 6 // Reflect.defineMetadata('design:paramtypes', paramTypes, target); 7 }; 8 }