2022-01-28 04:57:07 +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-07-19 17:30:23 +08:00
|
|
|
"include": ["src/**/*", "../vendor/flarum/core/js/dist-typings/@types/**/*", "@types/**/*"],
|
2022-01-28 04:57:07 +08:00
|
|
|
"compilerOptions": {
|
|
|
|
// This will output typings to `dist-typings`
|
|
|
|
"declarationDir": "./dist-typings",
|
|
|
|
"paths": {
|
2022-07-19 17:30:23 +08:00
|
|
|
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"]
|
2022-01-28 04:57:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|