Skip to content

Allow LuaTable<TKey, TValue> use in table manipulation functions - #85

Open
kapodamy wants to merge 2 commits into
TypeScriptToLua:masterfrom
kapodamy:master
Open

Allow LuaTable<TKey, TValue> use in table manipulation functions#85
kapodamy wants to merge 2 commits into
TypeScriptToLua:masterfrom
kapodamy:master

Conversation

@kapodamy

@kapodamykapodamy commented May 18, 2025

Copy link
Copy Markdown

avoids using as typescript operator on pure tables to avoid compile errors.

test case:

vartimer_table=newLuaTable<number,string>();

old usage:

table.insert(timer_tableasany,"abc123");

new usage:

table.insert(timer_table,"abc123");

@kapodamykapodamy changed the title Allow LuaTable<TKey, TValue> use in table manipulationAllow LuaTable<TKey, TValue> use in table manipulation functionsMay 18, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@kapodamy