From d689b640d376262d5d5d3cd3c5b2145de46f302c Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Thu, 14 Jan 2016 20:26:26 +0100 Subject: [PATCH] fix(playground): typing errors --- playground/ng-metadata.legacy.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/playground/ng-metadata.legacy.d.ts b/playground/ng-metadata.legacy.d.ts index 3ae41a2..849a950 100644 --- a/playground/ng-metadata.legacy.d.ts +++ b/playground/ng-metadata.legacy.d.ts @@ -112,3 +112,16 @@ declare module "ng-metadata/core" { declare module "ng-metadata/platform" { export = ngMetadataPlatform; } + +declare type Type = Function; +declare type ProvideSpreadType = string|Type; + +declare module angular { + interface IModule { + // constant(object: Object): IModule; + // value(object: Object): IModule; + directive(...args: ProvideSpreadType[]): IModule; + filter(...args: ProvideSpreadType[]): IModule; + service(...args: ProvideSpreadType[]): IModule; + } +}