Skip to content

Commit

Permalink
📝 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yakisova41 committed Apr 1, 2024
1 parent 6098903 commit f2320d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build:userscript": "npx ts-extension-builder build type=userscript",
"build:extension": "npx ts-extension-builder build type=extension",
"dev": "npx ts-extension-builder dev type=userscript",
"lint": "npx eslint --fix src/index.ts"
"lint": "npx eslint --fix src/**/*.ts"
},
"type": "commonjs",
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions src/types/YtAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ import {

export interface YtAction<T, U> {
actionName: string;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
args: { 0: T; 1: U; 2: any };
optionalAction: boolean;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
returnValue: any;
}

Expand Down
4 changes: 2 additions & 2 deletions src/types/YtHistoryLoad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export interface YtHistoryLoad {
endpoint?: ArgEndpoint;
forward?: boolean;
historyEntry?: HistoryEntry;
savedComponentState?: any;
savedComponentState?: never;
legacyBorder?: boolean;
}

Expand Down Expand Up @@ -202,7 +202,7 @@ export interface PlayerResponseFrameworkUpdates {
}

export interface EntityBatchUpdate {
mutations: any[];
mutations: never[];
timestamp: Timestamp;
}

Expand Down

0 comments on commit f2320d9

Please sign in to comment.