mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
style: lint fix
This commit is contained in:
parent
3d48446769
commit
e6daf07456
@ -28,7 +28,7 @@ export interface DemoContainerRender {
|
||||
md: Markdown,
|
||||
env: MarkdownDemoEnv,
|
||||
meta: DemoMeta,
|
||||
codeMap: Record<string, string>
|
||||
codeMap: Record<string, string>,
|
||||
) => string
|
||||
after: () => string
|
||||
token?: (token: Token, tokens: Token[], index: number) => void
|
||||
|
||||
@ -35,7 +35,7 @@ export interface ReactiveRouteOptionsWithTransform<V, R> extends ReactiveRouteOp
|
||||
const _queue = new WeakMap<Router, Map<string, any>>()
|
||||
|
||||
export function useRouteQuery(
|
||||
name: string
|
||||
name: string,
|
||||
): Ref<null | string | string[]>
|
||||
|
||||
export function useRouteQuery<
|
||||
@ -44,7 +44,7 @@ export function useRouteQuery<
|
||||
>(
|
||||
name: string,
|
||||
defaultValue?: MaybeRefOrGetter<T>,
|
||||
options?: ReactiveRouteOptionsWithTransform<T, K>
|
||||
options?: ReactiveRouteOptionsWithTransform<T, K>,
|
||||
): Ref<K>
|
||||
|
||||
export function useRouteQuery<
|
||||
|
||||
@ -8,7 +8,7 @@ interface TransitionResult extends PropertyIndexedKeyframes {
|
||||
type TransitionStrategy = {
|
||||
[key in NonNullable<TransitionMode>]: (
|
||||
reverse: (effect: string[]) => string[],
|
||||
context: { x: number, y: number, isDark: boolean }
|
||||
context: { x: number, y: number, isDark: boolean },
|
||||
) => TransitionResult
|
||||
}
|
||||
|
||||
|
||||
@ -116,6 +116,6 @@ export interface AutoFrontmatterOptions {
|
||||
D extends AutoFrontmatterData = AutoFrontmatterData,
|
||||
>(data: D,
|
||||
context: AutoFrontmatterContext,
|
||||
locale: string
|
||||
locale: string,
|
||||
) => D | Promise<D>
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user