https://www.typescriptlang.org/docs/handbook/2/classes.html#static-blocks-in-classes Static blocks are skipped when the code is transpiled to Lua. Ex. ``` class A { static { console.log("Hello world") } } ``` The code doesn't output anything in TSTL while it prints "Hello world" in TS. TSTL playground: https://typescripttolua.github.io/play/#code/MYGwhgzhAECC0G8BQ1XQgFzBglsRKaRwA9gHYQkgCmAdCCQOYAUARABLUgPQDuJAJxAATVgEpCqAL5IZQA TS playground: https://www.typescriptlang.org/play?ssl=6&ssc=1&pln=1&pc=1#code/MYGwhgzhAECC0G8BQ1XQgFzBglsRKaRwA9gHYQkgCmAdCCQOYAUARABLUgPQDuJAJxAATVgEpCqAL5IZQA
https://www.typescriptlang.org/docs/handbook/2/classes.html#static-blocks-in-classes
Static blocks are skipped when the code is transpiled to Lua.
Ex.
The code doesn't output anything in TSTL while it prints "Hello world" in TS.
TSTL playground: https://typescripttolua.github.io/play/#code/MYGwhgzhAECC0G8BQ1XQgFzBglsRKaRwA9gHYQkgCmAdCCQOYAUARABLUgPQDuJAJxAATVgEpCqAL5IZQA
TS playground: https://www.typescriptlang.org/play?ssl=6&ssc=1&pln=1&pc=1#code/MYGwhgzhAECC0G8BQ1XQgFzBglsRKaRwA9gHYQkgCmAdCCQOYAUARABLUgPQDuJAJxAATVgEpCqAL5IZQA