Files
mm-d-flat/tsconfig.json

17 lines
535 B
JSON

{
// Change this to match your project
"include": ["src/game.js"],
"compilerOptions": {
// Tells TypeScript to read JS files, as normally they are ignored as source files
"allowJs": true,
// Generate d.ts files
"declaration": true,
// This compiler run should only output d.ts files
"emitDeclarationOnly": true,
// Types should go into this directory.
// Removing this would place the definition files next to the .js files
"outDir": "dist",
}
}