chore: run prettier --write .
This commit is contained in:
+11
-11
@@ -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>)
|
||||
|
||||
Reference in New Issue
Block a user