Skip to content

Commit d11397d

Browse files
ZamiellPerryvw
andauthored
fix: grammar + more thorough explanation (#201)
* Update configuration.md * Update docs/configuration.md Co-authored-by: Perry van Wesel <[email protected]> --------- Co-authored-by: Perry van Wesel <[email protected]>
1 parent 890ac5e commit d11397d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/configuration.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ Most of the standard [TypeScript options](https://www.typescriptlang.org/docs/ha
5151

5252
Some options do not apply to TypeScriptToLua and are ignored:
5353

54-
- `outFile` - use `luaBundle` instead.
55-
- `importHelpers`, `noEmitHelpers` - use `luaLibImport` instead.
56-
- `target`, `module` - it's only effect is limiting some features, so prefer to set it to `esnext`. If TypeScript requires you to specify different `module` type because you want to bundle your declarations with `outFile`, consider using [API Extractor](https://api-extractor.com/) instead.
54+
- `outFile` - Use `luaBundle` instead.
55+
- `importHelpers` / `noEmitHelpers` - Use `luaLibImport` instead.
56+
- `target` - In normal TypeScript projects, this represents the JavaScript compilation target. TSTL users should always set this to `ESNext`, which allows your source code to use every [ECMAScript feature](https://github.com/sudheerj/ECMAScript-features).
57+
- `module` - In normal TypeScript projects, this specifies the module system. TSTL users should omit this option, since it will default to `ES2015`.
5758

5859
## Transformers
5960

0 commit comments

Comments
 (0)