Fix violations of 'callable-types' lint rule.

This commit is contained in:
Daniel Cassidy
2019-01-11 08:54:35 +00:00
parent 8cf6801f79
commit f87712a95a
2 changed files with 1 additions and 4 deletions
+1 -3
View File
@@ -231,9 +231,7 @@ interface FirstFrameParam extends CallbackParam {
viewable: 0 | 1;
}
interface EventCallback<T extends CallbackParam> {
(param: T): void;
}
type EventCallback<T extends CallbackParam> = (param: T) => void;
interface Region {
x: 0; // x and y will always be 0 according to https://developer.jwplayer.com/jw-player/docs/javascript-api-reference/#jwplayergetsaferegion
-1
View File
@@ -2,7 +2,6 @@
"extends": "dtslint/dt.json",
"rules": {
"adjacent-overload-signatures": false,
"callable-types": false,
"dt-header": false,
"no-empty-interface": false,
"one-line": false,