diff --git a/src/language-js/print/property.js b/src/language-js/print/property.js index 2a6b05c05..361bb89a2 100644 --- a/src/language-js/print/property.js +++ b/src/language-js/print/property.js @@ -23,11 +23,6 @@ function printPropertyKey(path, options, print) { const parent = path.getParentNode(); const { key } = node; - // flow has `Identifier` key, other parsers use `PrivateIdentifier` (ESTree) or `PrivateName` - if (node.type === "ClassPrivateProperty" && key.type === "Identifier") { - return ["#", print("key")]; - } - if (options.quoteProps === "consistent" && !needsQuoteProps.has(parent)) { const objectHasStringProp = ( parent.properties ||