File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' svelte ' : patch
3+ ---
4+
5+ fix: adjust ` $inspect.with ` type
Original file line number Diff line number Diff line change @@ -178,4 +178,4 @@ declare function $props<T>(): T;
178178 */
179179declare function $inspect < T extends any [ ] > (
180180 ...values : T
181- ) : { with : ( type : 'init' | 'update' , ...values : T ) => void } ;
181+ ) : { with : ( fn : ( type : 'init' | 'update' , ...values : T ) => void ) => void } ;
Original file line number Diff line number Diff line change @@ -2565,6 +2565,6 @@ declare function $props<T>(): T;
25652565 */
25662566declare function $inspect < T extends any [ ] > (
25672567 ...values : T
2568- ) : { with : ( type : 'init' | 'update' , ...values : T ) => void } ;
2568+ ) : { with : ( fn : ( type : 'init' | 'update' , ...values : T ) => void ) => void } ;
25692569
25702570//# sourceMappingURL=index.d.ts.map
You can’t perform that action at this time.
0 commit comments