-
Functions like ``print`` are generated as so right now:
```ts
declare function print(args: any[]): void;
```
They *should* be like this instead (as far as I know)
Works for me when I manually c…
-
Greetings,
In the configuration management world (e.g. Puppet, Chef), it is best practice for the tool to append a comment to the beginning of the file.
Something like:
```bash
# DO NOT EDIT…
-
**Description**
I have updated TypeScriptToLua from `0.39.3` to the latest, `0.41.0`, and received an error:
```console
error TS2304: Cannot find name 'https'
```
However, I use https only in m…
-
Apply `@customConstructor` annotation to classes like `File`
https://typescripttolua.github.io/docs/advanced/compiler-annotations#customconstructor
-
When using `declare module 'myModule'` locally it works as expected generating `require('myModule')` and correctly resolving types, but when placed in separate npm package to be used in `types` resolu…
-
```
declare function test(...arguments: Parameters): boolean;
interface Events {
hmm: (a: boolean, b: number, c: string) => void,
}
function triggerSeparatedClientEvent(localArguments: Pa…
Grafu updated
3 years ago
-
```
const plugin: tstl.Plugin = {
visitors: {
// Visitor can be a function that returns Lua AST node
[ts.SyntaxKind.SourceFile]: {} as any,
},
};
```
> Type '{ 300: a…
-
https://github.com/tomblind/local-lua-debugger-vscode/blob/9849009ef3b9685d7a279fb0ab7b32b7a930ea2d/debugger/path.ts#L61
Do we really need to get the `drive` in this case?
I don't know about Win…
-
For example, say that I have a Lua module that is just an "array". (Well, in Lua everything is tables, but hopefully you get what I mean.)
```lua
return {
-- Thing 1
{
foo = 1,
bar…
-
There should be some Lua environments with UI features where it would be useful. A simple solution would be just to use `transformJsx`, but it may have issues with factory function context.