Skip to content

Commit

Permalink
fix: typings for prettier plugin options (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey authored Jul 17, 2023
1 parent 486a9f6 commit 17dc4d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ declare module "prettier" {
interface Options {
markoSyntax?: "auto" | "html" | "concise";
markoAttrParen?: boolean;
markoCompiler?: typeof Compiler;
markoCompilerConfig?: Compiler.Config;
}

interface ParserOptions {
markoCompiler?: typeof Compiler;
markoCompilerConfig?: Compiler.Config;
markoSyntax?: "auto" | "html" | "concise";
markoAttrParen?: boolean;
markoCompiler?: typeof Compiler;
markoCompilerConfig?: Compiler.Config;
// @internal
markoLinePositions: number[];
// @internal
Expand Down

0 comments on commit 17dc4d6

Please sign in to comment.