We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
depends
1 parent 19be5e5 commit 184331aCopy full SHA for 184331a
.changeset/dirty-phones-report.md
@@ -0,0 +1,5 @@
1
+---
2
+'@sveltejs/kit': major
3
4
+
5
+breaking: the type for `depends` now requires a `:` as part of the string
packages/kit/src/exports/public.d.ts
@@ -779,7 +779,7 @@ export interface LoadEvent<
779
* <button on:click={increase}>Increase Count</button>
780
* ```
781
*/
782
- depends(...deps: string[]): void;
+ depends(...deps: Array<`${string}:${string}`>): void;
783
}
784
785
export interface NavigationEvent<
0 commit comments