[Breaking]/* @tupleReturn */ has been removed and will no longer have any effect. You will get an error if you try ot use it or if you use declarations that use it.
Added support for the Promise class.
Added support for async and await using coroutines.
Module resolution now also correctly resolves <directory>/init.lua files for require("<directory>").
Fixed an error not being thrown when trying to call a method in an optional chain that does not exist. (If the method itself is not optional)
Fixed a bug where parentheses could break the context parameter being resolved for a method.
Fixed a bug where context parameters in object literal methods were not inferred correctly.
Fixed a bug with sourceMapTraceback.
Fixed TS emitting empty JSON files if you use JSON source files.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps typescript-to-lua from 0.42.0 to 1.0.0.
Changelog
Sourced from typescript-to-lua's changelog.
Commits
a6a89df
1.0.002469b9
CHANGELOG 1.0.0a013476
Remove tupleReturn annotation (#1090)3d1720f
Throw when a required method in optional chain is not present (#1091)6d9d6b1
Upgrade TypeScript (#1097)98ffee6
Async await (#1093)b0ef3b0
Fix context failed to be resolved due to parentheses (#1095)f6fea1e
Add support for Promises (#1049)b5c6d3a
Resolve lua required directory init.lua files (#1089)716a237
fix sourceMapTraceback (#1087)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)