Config Files · 1 file
Sample tsconfig.json File
tsconfig.json configures the TypeScript compiler. Our sample is realistic and valid for its tool, with fake hosts and secrets.
tsconfig.json · 455 B
tsconfig.json
A strict TypeScript compiler config for a modern ESM project, with path aliases and comments (JSONC). All hosts, keys and secrets are fake.
CC0 · free for any use · Verified by an independent tool · Report a problem
{
// Sample tsconfig.json — samplefiles.com (TypeScript allows comments here)
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"strict": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"skipLibCheck": true,
"outDir": "dist",
"baseUrl": ".",
"paths": { "@/*": ["src/*"] }
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}File details
Download from the command line
curl -L -o tsconfig.json https://files.samplefiles.com/config/tsconfig/tsconfig.jsonwget https://files.samplefiles.com/config/tsconfig/tsconfig.jsonhttps://files.samplefiles.com/config/tsconfig/tsconfig.jsonprintf '%s %s\n' 863b56ba74ea46ab0629c13224384e7404a779d29bc97e7f5be1ec2f7d0fc9de tsconfig.json | shasum -a 256 -cOr check the download in your browser with the checksum calculator.