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,
|
md: Markdown,
|
||||||
env: MarkdownDemoEnv,
|
env: MarkdownDemoEnv,
|
||||||
meta: DemoMeta,
|
meta: DemoMeta,
|
||||||
codeMap: Record<string, string>
|
codeMap: Record<string, string>,
|
||||||
) => string
|
) => string
|
||||||
after: () => string
|
after: () => string
|
||||||
token?: (token: Token, tokens: Token[], index: number) => void
|
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>>()
|
const _queue = new WeakMap<Router, Map<string, any>>()
|
||||||
|
|
||||||
export function useRouteQuery(
|
export function useRouteQuery(
|
||||||
name: string
|
name: string,
|
||||||
): Ref<null | string | string[]>
|
): Ref<null | string | string[]>
|
||||||
|
|
||||||
export function useRouteQuery<
|
export function useRouteQuery<
|
||||||
@ -44,7 +44,7 @@ export function useRouteQuery<
|
|||||||
>(
|
>(
|
||||||
name: string,
|
name: string,
|
||||||
defaultValue?: MaybeRefOrGetter<T>,
|
defaultValue?: MaybeRefOrGetter<T>,
|
||||||
options?: ReactiveRouteOptionsWithTransform<T, K>
|
options?: ReactiveRouteOptionsWithTransform<T, K>,
|
||||||
): Ref<K>
|
): Ref<K>
|
||||||
|
|
||||||
export function useRouteQuery<
|
export function useRouteQuery<
|
||||||
|
|||||||
@ -8,7 +8,7 @@ interface TransitionResult extends PropertyIndexedKeyframes {
|
|||||||
type TransitionStrategy = {
|
type TransitionStrategy = {
|
||||||
[key in NonNullable<TransitionMode>]: (
|
[key in NonNullable<TransitionMode>]: (
|
||||||
reverse: (effect: string[]) => string[],
|
reverse: (effect: string[]) => string[],
|
||||||
context: { x: number, y: number, isDark: boolean }
|
context: { x: number, y: number, isDark: boolean },
|
||||||
) => TransitionResult
|
) => TransitionResult
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -116,6 +116,6 @@ export interface AutoFrontmatterOptions {
|
|||||||
D extends AutoFrontmatterData = AutoFrontmatterData,
|
D extends AutoFrontmatterData = AutoFrontmatterData,
|
||||||
>(data: D,
|
>(data: D,
|
||||||
context: AutoFrontmatterContext,
|
context: AutoFrontmatterContext,
|
||||||
locale: string
|
locale: string,
|
||||||
) => D | Promise<D>
|
) => D | Promise<D>
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user