Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#6248 Improvement: Set foundation to improve migrate-to-typescript efficiency #6249

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ module.exports = {
'@typescript-eslint/parser': [ '.ts', '.tsx' ]
},
'import/resolver': {
typescript: {
project: './tsconfig.json'
},
node: {
extensions: [
'.js',
Expand Down
141 changes: 141 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"cssnano": "7.0.6",
"es-check": "7.2.1",
"eslint": "8.57.1",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-compat": "4.2.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.10.0",
Expand Down
5 changes: 5 additions & 0 deletions src/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
export declare global {
declare module '*.png' {
const value: never;
export = value;
}

import { ApiClient, Events } from 'jellyfin-apiclient';

interface Window {
Expand Down
4 changes: 0 additions & 4 deletions src/index.d.ts

This file was deleted.

Loading
Loading