Skip to content

Commit

Permalink
chore; adjust tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Oct 30, 2024
1 parent d899a02 commit b42824f
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions js/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
// Use Flarum's tsconfig as a starting point
"extends": "flarum-tsconfig",
// This will match all .ts, .tsx, .d.ts, .js, .jsx files in your `src` folder
// and also tells your Typescript server to read core's global typings for
// access to `dayjs` and `$` in the global namespace.
"include": ["src/**/*", "../vendor/flarum/core/js/dist-typings/@types/**/*"],
"include": ["src/**/*", "../vendor/*/*/js/dist-typings/@types/**/*", "@types/**/*"],
"compilerOptions": {
// This will output typings to `dist-typings`
"declarationDir": "./dist-typings",
"noUnusedLocals": true,
"noUnusedParameters": true,
"baseUrl": ".",
"paths": {
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"]
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"],
"@flarum/core/*": ["../vendor/flarum/core/js/dist-typings/*"]
}
}
}

0 comments on commit b42824f

Please sign in to comment.