@biomejs/wasm-web 2.4.14 → 2.4.16

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.
package/biome_wasm.d.ts CHANGED
@@ -26,7 +26,7 @@ interface Configuration {
26
26
  */
27
27
  css?: CssConfiguration;
28
28
  /**
29
- * A list of paths to other JSON files, used to extends the current configuration.
29
+ * A list of paths to other JSON files, used to extend the current configuration.
30
30
  */
31
31
  extends?: Extends;
32
32
  /**
@@ -1015,6 +1015,10 @@ interface OverrideFormatterConfiguration {
1015
1015
  * What's the max width of a line. Defaults to 80.
1016
1016
  */
1017
1017
  lineWidth?: LineWidth;
1018
+ /**
1019
+ * Print trailing commas wherever possible in multi-line comma-separated syntactic structures.
1020
+ */
1021
+ trailingCommas?: JsTrailingCommas;
1018
1022
  /**
1019
1023
  * Whether to add a trailing newline at the end of the file.
1020
1024
 
@@ -1887,6 +1891,11 @@ interface Nursery {
1887
1891
  See https://biomejs.dev/linter/rules/no-ambiguous-anchor-text
1888
1892
  */
1889
1893
  noAmbiguousAnchorText?: NoAmbiguousAnchorTextConfiguration;
1894
+ /**
1895
+ * Require stringification to avoid values that only use the default object representation.
1896
+ See https://biomejs.dev/linter/rules/no-base-to-string
1897
+ */
1898
+ noBaseToString?: NoBaseToStringConfiguration;
1890
1899
  /**
1891
1900
  * Prevent usage of next/script's beforeInteractive strategy outside of pages/_document.js in a Next.js project.
1892
1901
  See https://biomejs.dev/linter/rules/no-before-interactive-script-outside-document
@@ -2262,6 +2271,11 @@ interface Nursery {
2262
2271
  See https://biomejs.dev/linter/rules/no-vue-arrow-func-in-watch
2263
2272
  */
2264
2273
  noVueArrowFuncInWatch?: NoVueArrowFuncInWatchConfiguration;
2274
+ /**
2275
+ * Disallow importing Vue compiler macros.
2276
+ See https://biomejs.dev/linter/rules/no-vue-import-compiler-macros
2277
+ */
2278
+ noVueImportCompilerMacros?: NoVueImportCompilerMacrosConfiguration;
2265
2279
  /**
2266
2280
  * Disallow the use of Vue Options API.
2267
2281
  See https://biomejs.dev/linter/rules/no-vue-options-api
@@ -2277,6 +2291,11 @@ interface Nursery {
2277
2291
  See https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for
2278
2292
  */
2279
2293
  noVueVIfWithVFor?: NoVueVIfWithVForConfiguration;
2294
+ /**
2295
+ * Disallow deprecated number modifiers on Vue v-on directives.
2296
+ See https://biomejs.dev/linter/rules/no-vue-v-on-number-values
2297
+ */
2298
+ noVueVOnNumberValues?: NoVueVOnNumberValuesConfiguration;
2280
2299
  /**
2281
2300
  * Enables the recommended rules for this group
2282
2301
  */
@@ -2481,11 +2500,21 @@ interface Nursery {
2481
2500
  See https://biomejs.dev/linter/rules/use-string-starts-ends-with
2482
2501
  */
2483
2502
  useStringStartsEndsWith?: UseStringStartsEndsWithConfiguration;
2503
+ /**
2504
+ * Enforce that test lifecycle hooks are declared in the order they execute.
2505
+ See https://biomejs.dev/linter/rules/use-test-hooks-in-order
2506
+ */
2507
+ useTestHooksInOrder?: UseTestHooksInOrderConfiguration;
2484
2508
  /**
2485
2509
  * Enforce that lifecycle hooks appear before any test cases in the same block.
2486
2510
  See https://biomejs.dev/linter/rules/use-test-hooks-on-top
2487
2511
  */
2488
2512
  useTestHooksOnTop?: UseTestHooksOnTopConfiguration;
2513
+ /**
2514
+ * Enforce that class methods utilize this.
2515
+ See https://biomejs.dev/linter/rules/use-this-in-class-methods
2516
+ */
2517
+ useThisInClassMethods?: UseThisInClassMethodsConfiguration;
2489
2518
  /**
2490
2519
  * Enforce the use of the u or v flag for regular expressions.
2491
2520
  See https://biomejs.dev/linter/rules/use-unicode-regex
@@ -2526,6 +2555,11 @@ interface Nursery {
2526
2555
  See https://biomejs.dev/linter/rules/use-vue-multi-word-component-names
2527
2556
  */
2528
2557
  useVueMultiWordComponentNames?: UseVueMultiWordComponentNamesConfiguration;
2558
+ /**
2559
+ * Enforces Promise syntax when using Vue nextTick.
2560
+ See https://biomejs.dev/linter/rules/use-vue-next-tick-promise
2561
+ */
2562
+ useVueNextTickPromise?: UseVueNextTickPromiseConfiguration;
2529
2563
  /**
2530
2564
  * Enforce that elements using v-for also specify a unique key.
2531
2565
  See https://biomejs.dev/linter/rules/use-vue-v-for-key
@@ -2556,6 +2590,11 @@ interface Nursery {
2556
2590
  See https://biomejs.dev/linter/rules/use-vue-valid-v-else-if
2557
2591
  */
2558
2592
  useVueValidVElseIf?: UseVueValidVElseIfConfiguration;
2593
+ /**
2594
+ * Enforces valid v-for directives in Vue templates.
2595
+ See https://biomejs.dev/linter/rules/use-vue-valid-v-for
2596
+ */
2597
+ useVueValidVFor?: UseVueValidVForConfiguration;
2559
2598
  /**
2560
2599
  * Enforce valid v-html directives.
2561
2600
  See https://biomejs.dev/linter/rules/use-vue-valid-v-html
@@ -2890,7 +2929,7 @@ interface Style {
2890
2929
  */
2891
2930
  useConsistentMemberAccessibility?: UseConsistentMemberAccessibilityConfiguration;
2892
2931
  /**
2893
- * Require the consistent declaration of object literals. Defaults to explicit definitions.
2932
+ * Require the consistent declaration of object literals.
2894
2933
  See https://biomejs.dev/linter/rules/use-consistent-object-definitions
2895
2934
  */
2896
2935
  useConsistentObjectDefinitions?: UseConsistentObjectDefinitionsConfiguration;
@@ -4085,6 +4124,9 @@ type UseYieldConfiguration = RulePlainConfiguration | RuleWithUseYieldOptions;
4085
4124
  type NoAmbiguousAnchorTextConfiguration =
4086
4125
  | RulePlainConfiguration
4087
4126
  | RuleWithNoAmbiguousAnchorTextOptions;
4127
+ type NoBaseToStringConfiguration =
4128
+ | RulePlainConfiguration
4129
+ | RuleWithNoBaseToStringOptions;
4088
4130
  type NoBeforeInteractiveScriptOutsideDocumentConfiguration =
4089
4131
  | RulePlainConfiguration
4090
4132
  | RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions;
@@ -4302,6 +4344,9 @@ type NoUselessTypeConversionConfiguration =
4302
4344
  type NoVueArrowFuncInWatchConfiguration =
4303
4345
  | RulePlainConfiguration
4304
4346
  | RuleWithNoVueArrowFuncInWatchOptions;
4347
+ type NoVueImportCompilerMacrosConfiguration =
4348
+ | RulePlainConfiguration
4349
+ | RuleWithNoVueImportCompilerMacrosOptions;
4305
4350
  type NoVueOptionsApiConfiguration =
4306
4351
  | RulePlainConfiguration
4307
4352
  | RuleWithNoVueOptionsApiOptions;
@@ -4311,6 +4356,9 @@ type NoVueRefAsOperandConfiguration =
4311
4356
  type NoVueVIfWithVForConfiguration =
4312
4357
  | RulePlainConfiguration
4313
4358
  | RuleWithNoVueVIfWithVForOptions;
4359
+ type NoVueVOnNumberValuesConfiguration =
4360
+ | RulePlainConfiguration
4361
+ | RuleWithNoVueVOnNumberValuesOptions;
4314
4362
  type UseArraySomeConfiguration =
4315
4363
  | RulePlainConfiguration
4316
4364
  | RuleWithUseArraySomeOptions;
@@ -4425,9 +4473,15 @@ type UseSpreadConfiguration = RulePlainConfiguration | RuleWithUseSpreadOptions;
4425
4473
  type UseStringStartsEndsWithConfiguration =
4426
4474
  | RulePlainConfiguration
4427
4475
  | RuleWithUseStringStartsEndsWithOptions;
4476
+ type UseTestHooksInOrderConfiguration =
4477
+ | RulePlainConfiguration
4478
+ | RuleWithUseTestHooksInOrderOptions;
4428
4479
  type UseTestHooksOnTopConfiguration =
4429
4480
  | RulePlainConfiguration
4430
4481
  | RuleWithUseTestHooksOnTopOptions;
4482
+ type UseThisInClassMethodsConfiguration =
4483
+ | RulePlainConfiguration
4484
+ | RuleWithUseThisInClassMethodsOptions;
4431
4485
  type UseUnicodeRegexConfiguration =
4432
4486
  | RulePlainConfiguration
4433
4487
  | RuleWithUseUnicodeRegexOptions;
@@ -4452,6 +4506,9 @@ type UseVueHyphenatedAttributesConfiguration =
4452
4506
  type UseVueMultiWordComponentNamesConfiguration =
4453
4507
  | RulePlainConfiguration
4454
4508
  | RuleWithUseVueMultiWordComponentNamesOptions;
4509
+ type UseVueNextTickPromiseConfiguration =
4510
+ | RulePlainConfiguration
4511
+ | RuleWithUseVueNextTickPromiseOptions;
4455
4512
  type UseVueVForKeyConfiguration =
4456
4513
  | RulePlainConfiguration
4457
4514
  | RuleWithUseVueVForKeyOptions;
@@ -4470,6 +4527,9 @@ type UseVueValidVElseConfiguration =
4470
4527
  type UseVueValidVElseIfConfiguration =
4471
4528
  | RulePlainConfiguration
4472
4529
  | RuleWithUseVueValidVElseIfOptions;
4530
+ type UseVueValidVForConfiguration =
4531
+ | RulePlainConfiguration
4532
+ | RuleWithUseVueValidVForOptions;
4473
4533
  type UseVueValidVHtmlConfiguration =
4474
4534
  | RulePlainConfiguration
4475
4535
  | RuleWithUseVueValidVHtmlOptions;
@@ -5797,6 +5857,10 @@ interface RuleWithNoAmbiguousAnchorTextOptions {
5797
5857
  level: RulePlainConfiguration;
5798
5858
  options?: NoAmbiguousAnchorTextOptions;
5799
5859
  }
5860
+ interface RuleWithNoBaseToStringOptions {
5861
+ level: RulePlainConfiguration;
5862
+ options?: NoBaseToStringOptions;
5863
+ }
5800
5864
  interface RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions {
5801
5865
  level: RulePlainConfiguration;
5802
5866
  options?: NoBeforeInteractiveScriptOutsideDocumentOptions;
@@ -6111,6 +6175,10 @@ interface RuleWithNoVueArrowFuncInWatchOptions {
6111
6175
  level: RulePlainConfiguration;
6112
6176
  options?: NoVueArrowFuncInWatchOptions;
6113
6177
  }
6178
+ interface RuleWithNoVueImportCompilerMacrosOptions {
6179
+ level: RulePlainConfiguration;
6180
+ options?: NoVueImportCompilerMacrosOptions;
6181
+ }
6114
6182
  interface RuleWithNoVueOptionsApiOptions {
6115
6183
  level: RulePlainConfiguration;
6116
6184
  options?: NoVueOptionsApiOptions;
@@ -6123,6 +6191,10 @@ interface RuleWithNoVueVIfWithVForOptions {
6123
6191
  level: RulePlainConfiguration;
6124
6192
  options?: NoVueVIfWithVForOptions;
6125
6193
  }
6194
+ interface RuleWithNoVueVOnNumberValuesOptions {
6195
+ level: RulePlainConfiguration;
6196
+ options?: NoVueVOnNumberValuesOptions;
6197
+ }
6126
6198
  interface RuleWithUseArraySomeOptions {
6127
6199
  fix?: FixKind;
6128
6200
  level: RulePlainConfiguration;
@@ -6299,10 +6371,18 @@ interface RuleWithUseStringStartsEndsWithOptions {
6299
6371
  level: RulePlainConfiguration;
6300
6372
  options?: UseStringStartsEndsWithOptions;
6301
6373
  }
6374
+ interface RuleWithUseTestHooksInOrderOptions {
6375
+ level: RulePlainConfiguration;
6376
+ options?: UseTestHooksInOrderOptions;
6377
+ }
6302
6378
  interface RuleWithUseTestHooksOnTopOptions {
6303
6379
  level: RulePlainConfiguration;
6304
6380
  options?: UseTestHooksOnTopOptions;
6305
6381
  }
6382
+ interface RuleWithUseThisInClassMethodsOptions {
6383
+ level: RulePlainConfiguration;
6384
+ options?: UseThisInClassMethodsOptions;
6385
+ }
6306
6386
  interface RuleWithUseUnicodeRegexOptions {
6307
6387
  fix?: FixKind;
6308
6388
  level: RulePlainConfiguration;
@@ -6340,6 +6420,10 @@ interface RuleWithUseVueMultiWordComponentNamesOptions {
6340
6420
  level: RulePlainConfiguration;
6341
6421
  options?: UseVueMultiWordComponentNamesOptions;
6342
6422
  }
6423
+ interface RuleWithUseVueNextTickPromiseOptions {
6424
+ level: RulePlainConfiguration;
6425
+ options?: UseVueNextTickPromiseOptions;
6426
+ }
6343
6427
  interface RuleWithUseVueVForKeyOptions {
6344
6428
  level: RulePlainConfiguration;
6345
6429
  options?: UseVueVForKeyOptions;
@@ -6366,6 +6450,10 @@ interface RuleWithUseVueValidVElseIfOptions {
6366
6450
  level: RulePlainConfiguration;
6367
6451
  options?: UseVueValidVElseIfOptions;
6368
6452
  }
6453
+ interface RuleWithUseVueValidVForOptions {
6454
+ level: RulePlainConfiguration;
6455
+ options?: UseVueValidVForOptions;
6456
+ }
6369
6457
  interface RuleWithUseVueValidVHtmlOptions {
6370
6458
  level: RulePlainConfiguration;
6371
6459
  options?: UseVueValidVHtmlOptions;
@@ -7581,6 +7669,9 @@ interface NoAmbiguousAnchorTextOptions {
7581
7669
  */
7582
7670
  words?: string[];
7583
7671
  }
7672
+ interface NoBaseToStringOptions {
7673
+ ignoredTypeNames?: string[];
7674
+ }
7584
7675
  type NoBeforeInteractiveScriptOutsideDocumentOptions = {};
7585
7676
  type NoComponentHookFactoriesOptions = {};
7586
7677
  type NoConditionalExpectOptions = {};
@@ -7776,9 +7867,11 @@ interface NoUntrustedLicensesOptions {
7776
7867
  type NoUselessReturnOptions = {};
7777
7868
  type NoUselessTypeConversionOptions = {};
7778
7869
  type NoVueArrowFuncInWatchOptions = {};
7870
+ type NoVueImportCompilerMacrosOptions = {};
7779
7871
  type NoVueOptionsApiOptions = {};
7780
7872
  type NoVueRefAsOperandOptions = {};
7781
7873
  type NoVueVIfWithVForOptions = {};
7874
+ type NoVueVOnNumberValuesOptions = {};
7782
7875
  type UseArraySomeOptions = {};
7783
7876
  type UseArraySortCompareOptions = {};
7784
7877
  type UseAwaitThenableOptions = {};
@@ -7839,7 +7932,10 @@ interface UseConsistentTestItOptions {
7839
7932
  */
7840
7933
  withinDescribe?: TestFunctionKind;
7841
7934
  }
7842
- type UseDestructuringOptions = {};
7935
+ interface UseDestructuringOptions {
7936
+ assignmentExpression?: DestructuringConfig;
7937
+ variableDeclarator?: DestructuringConfig;
7938
+ }
7843
7939
  type UseDisposablesOptions = {};
7844
7940
  type UseDomNodeTextContentOptions = {};
7845
7941
  type UseDomQuerySelectorOptions = {};
@@ -7938,7 +8034,30 @@ interface UseSortedClassesOptions {
7938
8034
  }
7939
8035
  type UseSpreadOptions = {};
7940
8036
  type UseStringStartsEndsWithOptions = {};
8037
+ type UseTestHooksInOrderOptions = {};
7941
8038
  type UseTestHooksOnTopOptions = {};
8039
+ interface UseThisInClassMethodsOptions {
8040
+ /**
8041
+ * Whether members of classes with an `implements` clause should be ignored.
8042
+
8043
+ Defaults to `"none"`, which means implemented classes are checked like any other class.
8044
+ Use `"all"` to ignore every eligible member in such classes, or `"public-fields"`
8045
+ to ignore only public members in them.
8046
+ */
8047
+ ignoreClassesWithImplements?: IgnoreClassesWithImplements;
8048
+ /**
8049
+ * Method names that should be ignored by the rule.
8050
+
8051
+ Defaults to `[]`.
8052
+ */
8053
+ ignoreMethods?: string[];
8054
+ /**
8055
+ * Whether methods marked with `override` should be ignored.
8056
+
8057
+ Defaults to `false`.
8058
+ */
8059
+ ignoreOverrideMethods?: boolean;
8060
+ }
7942
8061
  type UseUnicodeRegexOptions = {};
7943
8062
  type UseVarsOnTopOptions = {};
7944
8063
  interface UseVueConsistentDefinePropsDeclarationOptions {
@@ -7980,12 +8099,14 @@ interface UseVueMultiWordComponentNamesOptions {
7980
8099
  */
7981
8100
  ignores?: string[];
7982
8101
  }
8102
+ type UseVueNextTickPromiseOptions = {};
7983
8103
  type UseVueVForKeyOptions = {};
7984
8104
  type UseVueValidTemplateRootOptions = {};
7985
8105
  type UseVueValidVBindOptions = {};
7986
8106
  type UseVueValidVCloakOptions = {};
7987
8107
  type UseVueValidVElseOptions = {};
7988
8108
  type UseVueValidVElseIfOptions = {};
8109
+ type UseVueValidVForOptions = {};
7989
8110
  type UseVueValidVHtmlOptions = {};
7990
8111
  type UseVueValidVIfOptions = {};
7991
8112
  interface UseVueValidVOnOptions {
@@ -8420,7 +8541,12 @@ type AvailabilityTarget = AvailabilityNamed | number;
8420
8541
  type UseConsistentGraphqlDescriptionsStyle = "block" | "inline";
8421
8542
  type MethodSignatureStyle = "property" | "method";
8422
8543
  type TestFunctionKind = "it" | "test";
8544
+ interface DestructuringConfig {
8545
+ array?: boolean;
8546
+ object?: boolean;
8547
+ }
8423
8548
  type CheckInputType = "off" | "loose" | "strict";
8549
+ type IgnoreClassesWithImplements = "none" | "all" | "public-fields";
8424
8550
  type DeclarationStyle = "type" | "runtime";
8425
8551
  type VueDirectiveStyle = "shorthand" | "longhand";
8426
8552
  type VueDirectiveStyle2 = "shorthand" | "longhand";
@@ -8777,6 +8903,7 @@ type Category =
8777
8903
  | "lint/correctness/useValidTypeof"
8778
8904
  | "lint/correctness/useYield"
8779
8905
  | "lint/nursery/noAmbiguousAnchorText"
8906
+ | "lint/nursery/noBaseToString"
8780
8907
  | "lint/nursery/noBeforeInteractiveScriptOutsideDocument"
8781
8908
  | "lint/nursery/noColorInvalidHex"
8782
8909
  | "lint/nursery/noComponentHookFactories"
@@ -8857,9 +8984,11 @@ type Category =
8857
8984
  | "lint/nursery/noUselessReturn"
8858
8985
  | "lint/nursery/noUselessTypeConversion"
8859
8986
  | "lint/nursery/noVueArrowFuncInWatch"
8987
+ | "lint/nursery/noVueImportCompilerMacros"
8860
8988
  | "lint/nursery/noVueOptionsApi"
8861
8989
  | "lint/nursery/noVueRefAsOperand"
8862
8990
  | "lint/nursery/noVueVIfWithVFor"
8991
+ | "lint/nursery/noVueVOnNumberValues"
8863
8992
  | "lint/nursery/useArraySome"
8864
8993
  | "lint/nursery/useArraySortCompare"
8865
8994
  | "lint/nursery/useAwaitThenable"
@@ -8908,7 +9037,9 @@ type Category =
8908
9037
  | "lint/nursery/useSortedClasses"
8909
9038
  | "lint/nursery/useSpread"
8910
9039
  | "lint/nursery/useStringStartsEndsWith"
9040
+ | "lint/nursery/useTestHooksInOrder"
8911
9041
  | "lint/nursery/useTestHooksOnTop"
9042
+ | "lint/nursery/useThisInClassMethods"
8912
9043
  | "lint/nursery/useUnicodeRegex"
8913
9044
  | "lint/nursery/useUniqueArgumentNames"
8914
9045
  | "lint/nursery/useUniqueFieldDefinitionNames"
@@ -8922,6 +9053,7 @@ type Category =
8922
9053
  | "lint/nursery/useVueDefineMacrosOrder"
8923
9054
  | "lint/nursery/useVueHyphenatedAttributes"
8924
9055
  | "lint/nursery/useVueMultiWordComponentNames"
9056
+ | "lint/nursery/useVueNextTickPromise"
8925
9057
  | "lint/nursery/useVueVForKey"
8926
9058
  | "lint/nursery/useVueValidTemplateRoot"
8927
9059
  | "lint/nursery/useVueValidVBind"
@@ -9340,10 +9472,8 @@ type DocumentFileSource =
9340
9472
  | { Js: JsFileSource }
9341
9473
  | { Json: JsonFileSource }
9342
9474
  | { Css: CssFileSource }
9343
- | { Graphql: GraphqlFileSource }
9344
9475
  | { Html: HtmlFileSource }
9345
- | { Grit: GritFileSource }
9346
- | { Markdown: MdFileSource };
9476
+ | { Grit: GritFileSource };
9347
9477
  interface JsFileSource {
9348
9478
  /**
9349
9479
  * Used to mark if the JavaScript is embedded inside some particular files. This affects the parsing.
@@ -9369,18 +9499,12 @@ interface CssFileSource {
9369
9499
  language: CssFileLanguage;
9370
9500
  variant: CssVariant;
9371
9501
  }
9372
- interface GraphqlFileSource {
9373
- variant: GraphqlVariant;
9374
- }
9375
9502
  interface HtmlFileSource {
9376
9503
  variant: HtmlVariant;
9377
9504
  }
9378
9505
  interface GritFileSource {
9379
9506
  variant: GritVariant;
9380
9507
  }
9381
- interface MdFileSource {
9382
- variant: MarkdownVariant;
9383
- }
9384
9508
  type EmbeddingKind =
9385
9509
  | "None"
9386
9510
  | {
@@ -9444,14 +9568,12 @@ type JsonFileVariant = "standard" | "jsonc";
9444
9568
  type EmbeddingKind2 = "None" | "Styled" | { Html: EmbeddingHtmlKind };
9445
9569
  type CssFileLanguage = "css" | "scss";
9446
9570
  type CssVariant = "standard" | "cssModules" | "tailwindCss";
9447
- type GraphqlVariant = "standard";
9448
9571
  type HtmlVariant =
9449
9572
  | { Standard: HtmlTextExpressions }
9450
9573
  | "Astro"
9451
9574
  | "Vue"
9452
9575
  | "Svelte";
9453
9576
  type GritVariant = "Standard";
9454
- type MarkdownVariant = "Standard";
9455
9577
  type SvelteFileKind = "Component" | "SourceModule";
9456
9578
  type EmbeddingHtmlKind = "None" | "Html" | "Vue" | "Astro" | "Svelte";
9457
9579
  type HtmlTextExpressions = "None" | "Single" | "Double";
@@ -9472,7 +9594,7 @@ interface CloseFileParams {
9472
9594
  path: BiomePath;
9473
9595
  projectKey: ProjectKey;
9474
9596
  }
9475
- interface FileExitsParams {
9597
+ interface FileExistsParams {
9476
9598
  filePath: BiomePath;
9477
9599
  }
9478
9600
  interface PathIsIgnoredParams {
@@ -9807,10 +9929,10 @@ interface RenameResult {
9807
9929
  range: TextRange;
9808
9930
  }
9809
9931
  interface ParsePatternParams {
9810
- defaultLanguage: GritTargetLanguage;
9932
+ defaultLanguage: SearchLanguage;
9811
9933
  pattern: string;
9812
9934
  }
9813
- type GritTargetLanguage = "CSS" | "JavaScript" | "JSON";
9935
+ type SearchLanguage = "css" | "js" | "json";
9814
9936
  interface ParsePatternResult {
9815
9937
  patternId: PatternId;
9816
9938
  }
@@ -9853,7 +9975,7 @@ export class Workspace {
9853
9975
  changeFile(params: ChangeFileParams): ChangeFileResult;
9854
9976
  closeFile(params: CloseFileParams): void;
9855
9977
  dropPattern(params: DropPatternParams): void;
9856
- fileExists(params: FileExitsParams): boolean;
9978
+ fileExists(params: FileExistsParams): boolean;
9857
9979
  fileFeatures(params: SupportsFeatureParams): FileFeaturesResult;
9858
9980
  fixFile(params: FixFileParams): FixFileResult;
9859
9981
  formatFile(params: FormatFileParams): any;
package/biome_wasm.js CHANGED
@@ -155,7 +155,7 @@ export class Workspace {
155
155
  }
156
156
  }
157
157
  /**
158
- * @param {FileExitsParams} params
158
+ * @param {FileExistsParams} params
159
159
  * @returns {boolean}
160
160
  */
161
161
  fileExists(params) {
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Biome Developers and Contributors"
6
6
  ],
7
7
  "description": "WebAssembly bindings to the Biome workspace API",
8
- "version": "2.4.14",
8
+ "version": "2.4.16",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",