File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 AdapterEntry ,
77 CspDirectives ,
88 HttpMethod ,
9- IsAny ,
109 Logger ,
1110 MaybePromise ,
1211 Prerendered ,
Original file line number Diff line number Diff line change @@ -241,5 +241,3 @@ export interface RouteSegment {
241241}
242242
243243export type TrailingSlash = 'never' | 'always' | 'ignore' ;
244-
245- export type IsAny < T > = 0 extends 1 & T ? true : false ;
Original file line number Diff line number Diff line change @@ -2034,16 +2034,7 @@ declare module '@sveltejs/kit' {
20342034 /** The number of pending submissions */
20352035 get pending ( ) : number ;
20362036 /** Access form fields using object notation */
2037- fields : IsAny < Input > extends true
2038- ? RecursiveFormFields
2039- : Input extends void
2040- ? {
2041- /** Validation issues, if any */
2042- issues ( ) : RemoteFormIssue [ ] | undefined ;
2043- /** Validation issues belonging to this or any of the fields that belong to it, if any */
2044- allIssues ( ) : RemoteFormIssue [ ] | undefined ;
2045- }
2046- : RemoteFormFields < Input > ;
2037+ fields : RemoteFormFields < Input > ;
20472038 /** Spread this onto a `<button>` or `<input type="submit">` */
20482039 buttonProps : {
20492040 type : 'submit' ;
@@ -2385,8 +2376,6 @@ declare module '@sveltejs/kit' {
23852376 }
23862377
23872378 type TrailingSlash = 'never' | 'always' | 'ignore' ;
2388-
2389- type IsAny < T > = 0 extends 1 & T ? true : false ;
23902379 interface Asset {
23912380 file : string ;
23922381 size : number ;
You can’t perform that action at this time.
0 commit comments