Migrate whitespace tslint rule

This commit is contained in:
Daniel Imms
2020-03-28 07:34:49 -07:00
parent 2e9b4779c9
commit bbd83b9dba
9 changed files with 19 additions and 16 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export function createDecorator<T>(id: string): IServiceIdentifier<T> {
return serviceRegistry.get(id)!;
}
const decorator = <any>function (target: Function, key: string, index: number): any {
const decorator: any = function (target: Function, key: string, index: number): any {
if (arguments.length !== 3) {
throw new Error('@IServiceName-decorator can only be used to decorate a parameter');
}