mediawiki-extensions-Relate.../tsconfig.json
Jon Robson 2665e3c319 Add TypeScript support
For now it is limited to a single file RelatedPagesGateway.js
For now @types/jquery is requirement due to use of
wikimedia/mw-node-qunit and usage of MediaWiki core methods
and OOUI that use jQuery.

Change-Id: I370826bb3f521dcb5a68491990571ee1c87117ae
2022-04-27 19:11:10 +00:00

25 lines
572 B
JSON

{
"include": [
"resources/ext.relatedArticles.readMore.bootstrap/index.js",
"resources/ext.relatedArticles.readMore.bootstrap/RelatedPagesGateway.js"
],
"compilerOptions": {
"resolveJsonModule": true,
"esModuleInterop": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"newLine": "lf",
"forceConsistentCasingInFileNames": true,
"pretty": true,
"target": "es5",
"module": "es2015",
"moduleResolution": "node",
"lib": [ "dom" ],
"allowJs": true,
"checkJs": true,
"noEmit": true
}
}