@unhead/schema 0.4.7 → 0.5.1
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/index.d.ts +9 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,14 @@ interface ResolvesDuplicates {
|
|
|
8
8
|
* to be made you can provide a unique key for each entry.
|
|
9
9
|
*/
|
|
10
10
|
key?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated Use `key` instead
|
|
13
|
+
*/
|
|
14
|
+
hid?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Use `key` instead
|
|
17
|
+
*/
|
|
18
|
+
vmid?: string;
|
|
11
19
|
/**
|
|
12
20
|
* Specify where to render the tag.
|
|
13
21
|
*
|
|
@@ -83,7 +91,7 @@ declare type Never<T> = {
|
|
|
83
91
|
[P in keyof T]?: never;
|
|
84
92
|
};
|
|
85
93
|
declare type UserTagConfigWithoutInnerContent = TagPriority & TagPosition & ResolvesDuplicates & Never<InnerContent>;
|
|
86
|
-
declare type UserAttributesConfig = ResolvesDuplicates & Never<InnerContent &
|
|
94
|
+
declare type UserAttributesConfig = ResolvesDuplicates & TagPriority & Never<InnerContent & TagPosition>;
|
|
87
95
|
interface SchemaAugmentations extends MergeHead {
|
|
88
96
|
base: UserAttributesConfig;
|
|
89
97
|
htmlAttrs: UserAttributesConfig;
|