```ts "foobar"; 1; declare function foo(): number; foo() + foo(); ``` TS allows arbitrary expressions to be used as statements, but this is invalid in Lua. Lua only allows call expressions to be used as statements.
TS allows arbitrary expressions to be used as statements, but this is invalid in Lua. Lua only allows call expressions to be used as statements.