isaac-lua-definitions/isaac-typescript-definitions/tsconfig.json

27 lines
833 B
JSON

// The configuration file for TypeScript
{
// We extend the standard IsaacScript compiler flags
// https://github.com/IsaacScript/isaacscript-tsconfig/blob/main/tsconfig.common.json
"extends": "isaacscript-tsconfig/tsconfig.common.json",
// https://www.typescriptlang.org/docs/handbook/compiler-options.html
"compilerOptions": {
// "target" specifies the ECMAScript target version
// By default, it is "ES3"
"target": "ESNext",
// We use TypeScript definitions for the Lua standard library
// https://github.com/TypeScriptToLua/lua-types
"types": ["lua-types/5.3"],
// The "lua-types" library requires Node module resolution
// By default, it is "Classic"
"moduleResolution": "Node",
},
// A list of the TypeScript files to compile
"include": [
"./typings/**/*.ts",
],
}