fix: add missing Symbol descriptions

This commit is contained in:
xingyu4j
2026-07-24 15:17:55 +08:00
parent 4db254cd21
commit 57e2a54219

View File

@@ -8,6 +8,9 @@ export interface FormFieldContext {
valid: Readonly<Ref<boolean>>;
}
export const FORM_ITEM_INJECTION_KEY = Symbol() as InjectionKey<string>;
export const FORM_FIELD_INJECTION_KEY =
Symbol() as InjectionKey<FormFieldContext>;
export const FORM_ITEM_INJECTION_KEY = Symbol(
'FORM_ITEM_INJECTION_KEY',
) as InjectionKey<string>;
export const FORM_FIELD_INJECTION_KEY = Symbol(
'FORM_FIELD_INJECTION_KEY',
) as InjectionKey<FormFieldContext>;