chore: run prettier --write .

This commit is contained in:
Arvid Norlin
2024-02-19 14:24:30 +01:00
parent 7d51124b9f
commit 8a8c463452
71 changed files with 846 additions and 444 deletions
+11 -11
View File
@@ -1,27 +1,27 @@
import { Lang } from './lang';
import { Lang } from "./lang"
export type SearchParams<S = {}> = {
searchParams: S & { [key: string]: string };
};
searchParams: S & { [key: string]: string }
}
export type Params<P = {}> = {
params: P;
};
params: P
}
export type LangParams = {
lang: Lang;
};
lang: Lang
}
export type UriParams = {
uri?: string;
};
uri?: string
}
export type PreviewParams = {
uri?: string
live_preview?: string
}
export type LayoutArgs<P = undefined> = P extends undefined ? {} : Params<P>;
export type LayoutArgs<P = undefined> = P extends undefined ? {} : Params<P>
export type PageArgs<P = undefined, S = undefined> = LayoutArgs<P> &
(S extends undefined ? {} : SearchParams<S>);
(S extends undefined ? {} : SearchParams<S>)