Open
Description
my tsconfig.js
{
"compilerOptions": {
"target": "esnext",
"lib": [
"esnext"
],
"module": "commonjs",
"types": [
"@typescript-to-lua/language-extensions",
"lua-types/jit",
"projectdl"
],
"strict": true,
"experimentalDecorators": true,
"sourceMap": true,
"typeRoots": [
"./types", "./node_modules"
],
"rootDir": "ts",
"outDir": "lua",
"moduleResolution": "node",
"resolveJsonModule": true
},
"tstl": {
"luaTarget": "JIT",
"noHeader": true,
"luaLibImport": "require-minimal",
"noImplicitSelf": true
}
}
-- normal output
return {
__TS__Class = __TS__Class,
__TS__ArrayIndexOf = __TS__ArrayIndexOf,
__TS__Iterator = __TS__Iterator,
__TS__New = __TS__New,
__TS__ObjectKeys = __TS__ObjectKeys,
__TS__ArrayPush = __TS__ArrayPush,
__TS__AsyncAwaiter = __TS__AsyncAwaiter,
__TS__Await = __TS__Await
}
-- third time output
return {
__TS__AsyncAwaiter = __TS__AsyncAwaiter,
__TS__Await = __TS__Await,
__TS__New = __TS__New,
__TS__ObjectKeys = __TS__ObjectKeys
}
It outputs as if some exports are missing.
Metadata
Metadata
Assignees
Labels
No labels