@algorithm.ts/trie
Advanced tools
Comparing version 1.0.22 to 1.0.23
@@ -5,3 +5,3 @@ import type { Trie } from './types'; | ||
*/ | ||
export interface CreateTrieOptions<T extends unknown = number> { | ||
export interface CreateTrieOptions<T = number> { | ||
/** | ||
@@ -31,2 +31,2 @@ * The maximum number of children a parent node can have. | ||
} | ||
export declare function createTrie<T extends unknown = number>({ SIGMA_SIZE, ZERO, idx, mergeAdditionalValues, }: CreateTrieOptions<T>): Trie<T>; | ||
export declare function createTrie<T = number>({ SIGMA_SIZE, ZERO, idx, mergeAdditionalValues, }: CreateTrieOptions<T>): Trie<T>; |
/** | ||
* Result (s) data of the Trie.find, Tried.findAll | ||
*/ | ||
export interface TrieNodeData<T extends unknown = number> { | ||
export interface TrieNodeData<T = number> { | ||
/** | ||
@@ -25,3 +25,3 @@ * The ending position of the original string. | ||
*/ | ||
export interface Trie<T extends unknown = number> { | ||
export interface Trie<T = number> { | ||
/** | ||
@@ -28,0 +28,0 @@ * Initialize a trie. |
{ | ||
"name": "@algorithm.ts/trie", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"description": "Trie", | ||
@@ -45,3 +45,3 @@ "author": { | ||
}, | ||
"gitHead": "d4af2ac47f6a8d2a22eee8763be73b3770d4754d" | ||
"gitHead": "cc8576431cceb414f18f481788d5df198deeb464" | ||
} |
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
18269