Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Upgrade to TS2.4.1 #602

Merged
merged 1 commit into from
Jun 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/Injector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import {
import RegistryHandler from './RegistryHandler';

export interface GetProperties {
<C, P extends WidgetProperties>(inject: C, properties: P): any;
<P extends WidgetProperties>(inject: any, properties: P): any;
}

export interface GetChildren {
<C>(inject: C, children: DNode[]): DNode[];
(inject: any, children: DNode[]): DNode[];
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export interface PropertyChangeRecord {
}

export interface DiffPropertyFunction {
<T>(previousProperty: T, newProperty: any): PropertyChangeRecord;
(previousProperty: any, newProperty: any): PropertyChangeRecord;
}

export interface DiffPropertyReaction {
Expand Down