Skip to content

Commit

Permalink
Use FileInfoOptions type expected by prettier.getFileInfo function
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan CALVI committed Mar 29, 2022
1 parent 959dfcc commit 25ee660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devkit/src/generators/format-files.ts
Expand Up @@ -32,7 +32,7 @@ export async function formatFiles(tree: Tree): Promise<void> {
await Promise.all(
Array.from(files).map(async (file) => {
const systemPath = path.join(tree.root, file.path);
let options: any = {
let options: Prettier.FileInfoOptions = {
filepath: systemPath,
};

Expand Down

0 comments on commit 25ee660

Please sign in to comment.