2021-09-02 00:20:06 +08:00
|
|
|
{
|
2022-01-24 13:37:14 +08:00
|
|
|
// 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.
|
2022-08-08 21:48:43 +08:00
|
|
|
"include": ["src/**/*", "../../../framework/core/js/dist-typings/@types/**/*", "@types/**/*"],
|
2022-07-24 21:02:13 +08:00
|
|
|
"files": ["src/admin/shims.d.ts"],
|
2022-01-24 13:37:14 +08:00
|
|
|
"compilerOptions": {
|
|
|
|
// This will output typings to `dist-typings`
|
|
|
|
"declarationDir": "./dist-typings",
|
|
|
|
"paths": {
|
2022-08-08 21:48:43 +08:00
|
|
|
"flarum/*": ["../../../framework/core/js/dist-typings/*"]
|
2021-09-02 00:20:06 +08:00
|
|
|
}
|
2022-01-24 13:37:14 +08:00
|
|
|
}
|
2021-09-02 00:20:06 +08:00
|
|
|
}
|