2021-12-13 03:42:37 +08:00
|
|
|
{
|
2022-01-20 16:48:49 +08:00
|
|
|
// Use Flarum's tsconfig as a starting point
|
2021-12-13 03:42:37 +08:00
|
|
|
"extends": "flarum-tsconfig",
|
2022-01-20 16:48:49 +08: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-07-18 22:19:11 +08:00
|
|
|
"include": ["src/**/*", "../../../framework/core/js/src/**/*", "@types/**/*"],
|
2021-12-13 03:42:37 +08:00
|
|
|
"compilerOptions": {
|
2022-01-20 16:48:49 +08:00
|
|
|
// This will output typings to `dist-typings`
|
2021-12-13 03:42:37 +08:00
|
|
|
"declarationDir": "./dist-typings",
|
|
|
|
"baseUrl": ".",
|
|
|
|
"paths": {
|
2022-07-18 22:19:11 +08:00
|
|
|
"flarum/*": ["../../../framework/core/js/src/*"],
|
|
|
|
"flarum/tags/*": ["../../tags/js/src/*"]
|
2022-01-20 16:48:49 +08:00
|
|
|
}
|
2021-12-13 03:42:37 +08:00
|
|
|
}
|
|
|
|
}
|