From 181811c7a271ce6ed5fa10c7b883a04d722d81c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Pallar=C3=A9s?= Date: Wed, 7 Feb 2024 10:46:18 +0100 Subject: [PATCH] fix script --- scripts/gen-sdk-types.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gen-sdk-types.mts b/scripts/gen-sdk-types.mts index ac89a7a..f743752 100644 --- a/scripts/gen-sdk-types.mts +++ b/scripts/gen-sdk-types.mts @@ -286,7 +286,7 @@ const sourceFile = ts.factory.createSourceFile( const printer = ts.createPrinter(); -const text = prettier.format(printer.printFile(sourceFile), { +const text = await prettier.format(printer.printFile(sourceFile), { parser: "typescript", });