@cspell/cspell-types 8.13.1 → 8.13.2
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/dist/features.d.ts +8 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.js +0 -1
- package/package.json +2 -2
package/dist/features.d.ts
CHANGED
|
@@ -11,12 +11,20 @@ export interface FeaturesExperimental {
|
|
|
11
11
|
* These are the current set of active features
|
|
12
12
|
*/
|
|
13
13
|
export interface FeaturesActive {
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
featureName?: boolean;
|
|
14
18
|
}
|
|
15
19
|
/**
|
|
16
20
|
* These are feature settings that have been deprecated or moved elsewhere they will have no
|
|
17
21
|
* effect on the code but are here to prevent schema errors. The will get cleaned out on major versions.
|
|
18
22
|
*/
|
|
19
23
|
export interface FeaturesDeprecated {
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
featureName?: boolean;
|
|
20
28
|
}
|
|
21
29
|
/**
|
|
22
30
|
* Features are behaviors or settings that can be explicitly configured.
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type Serialize<T> = T extends
|
|
1
|
+
export type Serialize<T> = T extends () => void ? never : T extends null ? null : T extends any[] ? SerializeArray<T> : T extends object ? SerializeObj<T> : Primitives<T>;
|
|
2
2
|
type SerializeObj<T extends object> = {
|
|
3
3
|
[K in keyof T]: K extends string | number ? Serialize<T[K]> : never;
|
|
4
4
|
};
|
package/dist/types.js
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "8.13.
|
|
6
|
+
"version": "8.13.2",
|
|
7
7
|
"description": "Types for cspell and cspell-lib",
|
|
8
8
|
"type": "commonjs",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"engines": {
|
|
87
87
|
"node": ">=18"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "5c9aaf8829991e7d6d37355acb9b9685088bba14"
|
|
90
90
|
}
|