Skip to content

Commit c3be7cc

Browse files
committed
simplify type
1 parent 0ca3b6e commit c3be7cc

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/kit/src/exports/public.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1917,7 +1917,6 @@ type RemoteFormFieldContainer<Value> = RemoteFormFieldMethods<Value> & {
19171917
type UnknownField<Value> = RemoteFormFieldMethods<Value> & {
19181918
/** Validation issues belonging to this or any of the fields that belong to it, if any */
19191919
allIssues(): RemoteFormIssue[] | undefined;
1920-
} & {
19211920
/**
19221921
* Returns an object that can be spread onto an input element with the correct type attribute,
19231922
* aria-invalid attribute if the field is invalid, and appropriate value/checked property getters/setters.

packages/kit/types/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1893,7 +1893,6 @@ declare module '@sveltejs/kit' {
18931893
type UnknownField<Value> = RemoteFormFieldMethods<Value> & {
18941894
/** Validation issues belonging to this or any of the fields that belong to it, if any */
18951895
allIssues(): RemoteFormIssue[] | undefined;
1896-
} & {
18971896
/**
18981897
* Returns an object that can be spread onto an input element with the correct type attribute,
18991898
* aria-invalid attribute if the field is invalid, and appropriate value/checked property getters/setters.

0 commit comments

Comments
 (0)