X Tutup
Skip to content

Add ObjectConstructor method overrides for LuaPairsIterable types#1314

Merged
Perryvw merged 1 commit intoTypeScriptToLua:masterfrom
GlassBricks:object-constructor-methods
Jul 21, 2022
Merged

Add ObjectConstructor method overrides for LuaPairsIterable types#1314
Perryvw merged 1 commit intoTypeScriptToLua:masterfrom
GlassBricks:object-constructor-methods

Conversation

@GlassBricks
Copy link
Contributor

This allows users to use code such as Object.values(luaMap) with correct types.

Possible future related changes:

  • Update website documentation to mention this
  • Update the type for pairs in the lua-types package

@GlassBricks GlassBricks force-pushed the object-constructor-methods branch from d35edc8 to f5ea8e5 Compare July 20, 2022 20:07
@GlassBricks GlassBricks requested a review from Perryvw July 20, 2022 20:08
@Perryvw Perryvw merged commit a21b9f7 into TypeScriptToLua:master Jul 21, 2022
Sign up for free to 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.

2 participants

X Tutup