Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jan 13, 2023
1 parent be726b9 commit 135647c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/language-js/print/typescript.js
Expand Up @@ -278,7 +278,7 @@ function printTypescript(path, options, print) {
);

if (node.returnType || node.typeAnnotation) {
// Print space between `=>`, but not before `:`
// Print space before `=>`, but not before `:`
if (node.type === "TSConstructorType") {
parts.push(" ");
}
Expand Down

0 comments on commit 135647c

Please sign in to comment.