Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
pngwn committed Jun 4, 2024
1 parent d238325 commit 9187012
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions packages/mdsvex/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,10 @@ interface HighlightOptions {
alias?: Record<string, string>;
}

export type PluginWithSettings<S extends any[] = [Settings?], P extends Plugin<S> = Plugin<S>> = [P, ...S]
export type PluginWithSettings<
S extends any[] = [Settings?],
P extends Plugin<S> = Plugin<S>
> = [P, ...S];
export type UnifiedPlugins = Array<PluginWithSettings | Plugin>;

export interface TransformOptions {
Expand Down Expand Up @@ -305,10 +308,10 @@ export interface MdsvexCompileOptions extends MdsvexOptions {

export type PreprocessorReturn = Promise<
| {
code: string;
data?: Record<string, unknown>;
map?: string;
}
code: string;
data?: Record<string, unknown>;
map?: string;
}
| undefined
>;

Expand Down

0 comments on commit 9187012

Please sign in to comment.