-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In TypeScript 2.9 the constraint of `keyof T` is now `string | number | symbol`. This is not compatible with the type of the `event` parameter in `EventEmitter` methods, which is `string | symbol`. The compiler option `--keyofStringsOnly` reverts to TypeScript's old `keyof T` contraint, and has been added to `tsconfig.json` to resolve this breaking change. More info: microsoft/TypeScript#23724
- Loading branch information
Kevin Snyder
committed
Jun 25, 2018
1 parent
779c33d
commit 254868f
Showing
3 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,6 @@ | |
"rimraf": "^2.6.2", | ||
"sinon": "^5.0.10", | ||
"ts-node": "^6.0.5", | ||
"typescript": "^2.8.3" | ||
"typescript": "^2.9.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters