Skip to content

Commit fa508b4

Browse files
committed
Give await the correct lualib dependencies
1 parent d43b331 commit fa508b4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/LuaLib.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ const luaLibDependencies: Partial<Record<LuaLibFeature, LuaLibFeature[]>> = {
102102
ArrayConcat: [LuaLibFeature.ArrayIsArray],
103103
ArrayFlat: [LuaLibFeature.ArrayConcat, LuaLibFeature.ArrayIsArray],
104104
ArrayFlatMap: [LuaLibFeature.ArrayConcat, LuaLibFeature.ArrayIsArray],
105+
Await: [LuaLibFeature.InstanceOf, LuaLibFeature.New],
105106
Decorate: [LuaLibFeature.ObjectGetOwnPropertyDescriptor, LuaLibFeature.SetDescriptor, LuaLibFeature.ObjectAssign],
106107
DelegatedYield: [LuaLibFeature.StringAccess],
107108
Delete: [LuaLibFeature.ObjectGetOwnPropertyDescriptors],

0 commit comments

Comments
 (0)