{ // Use Flarum's tsconfig as a starting point "extends": "flarum-tsconfig", // This will match all .ts, .tsx, .d.ts, .js, .jsx files "include": ["src/**/*"], "compilerOptions": { // This will output typings to `dist-typings` "declarationDir": "./dist-typings", "baseUrl": ".", "paths": { "flarum/*": ["../vendor/flarum/core/js/dist-typings/*"] } } }