2023-01-18 02:10:24 +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.
|
|
|
|
"include": ["src/**/*", "../../../framework/core/js/dist-typings/@types/**/*", "@types/**/*"],
|
|
|
|
"compilerOptions": {
|
|
|
|
// This will output typings to `dist-typings`
|
|
|
|
"declarationDir": "./dist-typings",
|
|
|
|
"paths": {
|
2023-06-30 01:57:53 +08:00
|
|
|
"flarum/*": ["../../../framework/core/js/dist-typings/*"]
|
2023-01-18 02:10:24 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|