mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
We also add unplugin types to tsconfig.json. We didn't need them before since those types were not used in any astro components and were used in mdx files directly instead. We have an open PR to the upstream starlight repository to add support for custom icons in the Aside starlight component. The PR is stalled due to dependency on some of the custom icons work being done on starlight. We should replace the code below with the Aside starlight component along with a custom icon (keyboard in out case). Not linking it directly to avoid necessary mentions on the original PR whenever this commit is pushed. The PR number is 2261 in https://github.com/withastro/starlight.
33 lines
774 B
JSON
33 lines
774 B
JSON
{
|
|
"compilerOptions": {
|
|
/* Type Checking */
|
|
"exactOptionalPropertyTypes": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"strict": true,
|
|
|
|
/* Modules */
|
|
"module": "preserve",
|
|
|
|
/* Emit */
|
|
"noEmit": true,
|
|
|
|
/* Interop Constraints */
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
|
|
/* Language and Environment */
|
|
"target": "esnext",
|
|
|
|
/* Projects */
|
|
"composite": true,
|
|
|
|
"types": ["unplugin-icons/types/astro"],
|
|
},
|
|
}
|