cspell-trie-lib 6.23.1 → 6.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,7 +78,7 @@ export interface SuggestionCollectorOptions extends Omit<GenSuggestionOptionsStr
78
78
  * I.E. to remove forbidden terms.
79
79
  * @default () => true
80
80
  */
81
- filter?: FilterWordFn;
81
+ filter?: FilterWordFn | undefined;
82
82
  /**
83
83
  * The number of letters that can be changed when looking for a match
84
84
  * @default 5
@@ -88,7 +88,7 @@ export interface SuggestionCollectorOptions extends Omit<GenSuggestionOptionsStr
88
88
  * Include suggestions with tied cost even if the number is greater than `numSuggestions`.
89
89
  * @default true
90
90
  */
91
- includeTies?: boolean;
91
+ includeTies?: boolean | undefined;
92
92
  /**
93
93
  * specify if case / accents should be ignored when looking for suggestions.
94
94
  * @default true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cspell-trie-lib",
3
- "version": "6.23.1",
3
+ "version": "6.24.0",
4
4
  "description": "Trie Data Structure to support cspell.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "homepage": "https://github.com/streetsidesoftware/cspell#readme",
39
39
  "dependencies": {
40
- "@cspell/cspell-pipe": "6.23.1",
41
- "@cspell/cspell-types": "6.23.1",
40
+ "@cspell/cspell-pipe": "6.24.0",
41
+ "@cspell/cspell-types": "6.24.0",
42
42
  "gensequence": "^4.0.3"
43
43
  },
44
44
  "engines": {
@@ -50,5 +50,5 @@
50
50
  "@types/node": "^18.13.0",
51
51
  "jest": "^29.4.2"
52
52
  },
53
- "gitHead": "dace8b0625beb2766565f47bc813dc0a45480dc0"
53
+ "gitHead": "0d1e8bf9426cd0bfb814df4f61da12d8aee57ddd"
54
54
  }