@wry/trie
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -7,3 +7,3 @@ export declare class Trie<Data> { | ||
private data?; | ||
constructor(weakness: boolean, makeData?: (array: any[]) => Data); | ||
constructor(weakness?: boolean, makeData?: (array: any[]) => Data); | ||
lookup<T extends any[]>(...array: T): Data; | ||
@@ -10,0 +10,0 @@ lookupArray<T extends IArguments | any[]>(array: T): Data; |
@@ -11,2 +11,3 @@ // A [trie](https://en.wikipedia.org/wiki/Trie) data structure that holds | ||
function Trie(weakness, makeData) { | ||
if (weakness === void 0) { weakness = true; } | ||
if (makeData === void 0) { makeData = defaultMakeData; } | ||
@@ -13,0 +14,0 @@ this.weakness = weakness; |
@@ -15,2 +15,3 @@ 'use strict'; | ||
function Trie(weakness, makeData) { | ||
if (weakness === void 0) { weakness = true; } | ||
if (makeData === void 0) { makeData = defaultMakeData; } | ||
@@ -17,0 +18,0 @@ this.weakness = weakness; |
{ | ||
"name": "@wry/trie", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "Ben Newman <ben@eloper.dev>", | ||
@@ -37,3 +37,3 @@ "description": "https://en.wikipedia.org/wiki/Trie", | ||
}, | ||
"gitHead": "c80cc87d7c01c19b4c2dd808e5a71835e8c82fb1" | ||
"gitHead": "886df9d6df8f7c0525a789b91a262ec0f993ef2a" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Copyleft License
License(Experimental) Copyleft license information was found
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
14892
11
165
2
70