Skip to content

Instantly share code, notes, and snippets.

@scagood
Created January 23, 2025 11:49
Show Gist options
  • Save scagood/cacae3dba41adca182f591a94704e07e to your computer and use it in GitHub Desktop.
Save scagood/cacae3dba41adca182f591a94704e07e to your computer and use it in GitHub Desktop.
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"declarationDir": "./types"
},
"files": [
"./src/index.js"
],
"include": [
"./src/*.test.js",
"./src/**/*.test.js"
]
}
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "es2022",
"lib": [ "es2023" ],
"module": "nodenext",
"moduleResolution": "nodenext",
"declaration": true,
"emitDeclarationOnly": true,
"allowJs": true,
"checkJs": true,
"allowSyntheticDefaultImports": false,
"esModuleInterop": true,
"resolveJsonModule": false,
"inlineSourceMap": true,
"inlineSources": true,
"noEmitHelpers": true,
"noEmitOnError": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"isolatedModules": true,
"skipLibCheck": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment