mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
Fix violations of 'callable-types' lint rule.
This commit is contained in:
Vendored
+1
-3
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user