Skip to content

Commit

Permalink
fix(playground): typing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed Jan 14, 2016
1 parent d587dba commit d689b64
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions playground/ng-metadata.legacy.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit d689b64

Please sign in to comment.