mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(types): type missing in the CI
This commit is contained in:
parent
6f5c66f324
commit
1848d5dc96
@ -1,3 +1,6 @@
|
|||||||
import { deLocalizeUrl } from '$lib/paraglide/runtime';
|
import { deLocalizeUrl } from '$lib/paraglide/runtime';
|
||||||
|
|
||||||
export const reroute = (request) => deLocalizeUrl(request.url).pathname;
|
export const reroute = (request: {
|
||||||
|
url: URL;
|
||||||
|
fetch: typeof fetch;
|
||||||
|
}) => deLocalizeUrl(request.url).pathname;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user