diff --git a/package.json b/package.json index f83eb55a..253c42a4 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "jsdom": "^9.5.0", "sinon": "^1.17.6", "tslint": "^5.2.0", - "typescript": "~2.3.2" + "typescript": "~2.4.1" }, "dependencies": { "maquette": "~2.5.1", diff --git a/src/Injector.ts b/src/Injector.ts index ab3fc033..56727869 100644 --- a/src/Injector.ts +++ b/src/Injector.ts @@ -15,11 +15,11 @@ import { import RegistryHandler from './RegistryHandler'; export interface GetProperties { - (inject: C, properties: P): any; +

(inject: any, properties: P): any; } export interface GetChildren { - (inject: C, children: DNode[]): DNode[]; + (inject: any, children: DNode[]): DNode[]; } /** diff --git a/src/interfaces.d.ts b/src/interfaces.d.ts index 897beac1..816da25c 100644 --- a/src/interfaces.d.ts +++ b/src/interfaces.d.ts @@ -304,7 +304,7 @@ export interface PropertyChangeRecord { } export interface DiffPropertyFunction { - (previousProperty: T, newProperty: any): PropertyChangeRecord; + (previousProperty: any, newProperty: any): PropertyChangeRecord; } export interface DiffPropertyReaction {