1
1
mirror of https://github.com/mdx-js/mdx.git synced 2024-07-07 11:36:35 +03:00
mdx/tsconfig.json
Titus Wormer 11ac939bc3
Add rehype-twoslash
* check most examples with typescript
* add special twoslash directives to code blocks so that twoslash
  understand partial examples
* add dependencies for these examples, so typescript can check them
* remove theme-ui docs here, their site has info, link to it
2024-07-04 17:22:57 +02:00

25 lines
558 B
JSON

{
"compilerOptions": {
"checkJs": true,
"customConditions": ["development"],
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"exactOptionalPropertyTypes": true,
"jsx": "preserve",
"lib": ["es2022"],
"module": "node16",
"moduleResolution": "node16",
"strict": true,
"target": "es2022"
},
"exclude": ["**/coverage/", "**/node_modules/", "**/public/"],
"include": [
"**/*.cjs",
"**/*.js",
"**/*.jsx",
"packages/mdx/lib/types.d.ts",
"website/types.d.ts"
]
}