Skip to content

Commit

Permalink
allow async formatters
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellourbani committed Feb 13, 2025
1 parent ec374ca commit 47592b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/normalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CommandContext, setCommandContext } from './constants';

interface CodeNormalizer {
isRelevant: (u: Uri) => boolean;
normalize: (code: string, uri: Uri) => string;
normalize: (code: string, uri: Uri) => string | Promise<string>;
}

const normalizers: CodeNormalizer[] = [];
Expand Down

0 comments on commit 47592b2

Please sign in to comment.