typescript-to-lua
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -633,3 +633,3 @@ type AnyTable = Record<any, any>; | ||
*/ | ||
declare interface LuaReadonlyMap<K extends AnyNotNil = AnyNotNil, V = any> extends LuaPairsIterable<K, V> { | ||
declare interface ReadonlyLuaMap<K extends AnyNotNil = AnyNotNil, V = any> extends LuaPairsIterable<K, V> { | ||
get: LuaTableGetMethod<K, V>; | ||
@@ -664,4 +664,15 @@ has: LuaTableHasMethod<K>; | ||
*/ | ||
declare interface LuaReadonlySet<T extends AnyNotNil = AnyNotNil> extends LuaPairsKeyIterable<T> { | ||
declare interface ReadonlyLuaSet<T extends AnyNotNil = AnyNotNil> extends LuaPairsKeyIterable<T> { | ||
has: LuaTableHasMethod<T>; | ||
} | ||
interface ObjectConstructor { | ||
/** Returns an array of keys of an object, when iterated with `pairs`. */ | ||
keys<K>(o: LuaPairsIterable<K, any> | LuaPairsKeyIterable<K>): K[]; | ||
/** Returns an array of values of an object, when iterated with `pairs`. */ | ||
values<V>(o: LuaPairsIterable<any, V>): V[]; | ||
/** Returns an array of key/values of an object, when iterated with `pairs`. */ | ||
entries<K, V>(o: LuaPairsIterable<K, V>): Array<[K, V]>; | ||
} |
{ | ||
"name": "typescript-to-lua", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "A generic TypeScript to Lua transpiler. Write your code in TypeScript and publish Lua!", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/TypeScriptToLua/TypeScriptToLua", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
875098
14067