We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d4af44 commit e049a86Copy full SHA for e049a86
src/lualib/Map.ts
@@ -3,7 +3,7 @@ class Map<TKey, TValue> {
3
4
private items: {[key: string]: TValue}; // Type of key is actually TKey
5
6
- public Map(other: any) {
+ constructor(other: any) {
7
this.items = {};
8
this.size = 0;
9
src/lualib/Set.ts
@@ -3,7 +3,7 @@ class Set<TValue> {
private items: {[key: string]: boolean}; // Key type is actually TValue
- public Set(other: any) {
0 commit comments