2021-12-12 20:42:37 +01:00
|
|
|
{
|
2022-01-20 03:48:49 -05:00
|
|
|
// Use Flarum's tsconfig as a starting point
|
2021-12-12 20:42:37 +01:00
|
|
|
"extends": "flarum-tsconfig",
|
2022-01-20 03:48:49 -05:00
|
|
|
// 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.
|
2022-08-08 14:48:43 +01:00
|
|
|
"include": ["src/**/*", "../../../*/*/js/dist-typings/@types/**/*", "@types/**/*"],
|
2021-12-12 20:42:37 +01:00
|
|
|
"compilerOptions": {
|
2022-01-20 03:48:49 -05:00
|
|
|
// This will output typings to `dist-typings`
|
2021-12-12 20:42:37 +01:00
|
|
|
"declarationDir": "./dist-typings",
|
|
|
|
"paths": {
|
2022-08-08 14:48:43 +01:00
|
|
|
"flarum/*": ["../../../framework/core/js/dist-typings/*"],
|
2023-06-29 18:57:53 +01:00
|
|
|
"ext:flarum/tags/*": ["../../tags/js/dist-typings/*"]
|
2022-01-20 03:48:49 -05:00
|
|
|
}
|
2021-12-12 20:42:37 +01:00
|
|
|
}
|
|
|
|
}
|