File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/kit/src/runtime/app Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22' @sveltejs/kit ' : major
33---
44
5- breaking: the types for ` depends ` and ` invalidate ` now require a ` : ` when passing a string
5+ breaking: the type for ` depends ` now requires a ` : ` as part of the string
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ export const goto = /* @__PURE__ */ client_method('goto');
4444 *
4545 * invalidate((url) => url.pathname === '/path');
4646 * ```
47- * @type {(url: `${ string}:${string}` | URL | ((url: URL) => boolean)) => Promise<void> }
48- * @param {`${ string}:${string}` | URL | ((url: URL) => boolean) } url The invalidated URL
47+ * @type {(url: string | URL | ((url: URL) => boolean)) => Promise<void> }
48+ * @param {string | URL | ((url: URL) => boolean) } url The invalidated URL
4949 * @returns {Promise<void> }
5050 */
5151export const invalidate = /* @__PURE__ */ client_method ( 'invalidate' ) ;
You can’t perform that action at this time.
0 commit comments