diff --git a/packages/swc-helpers/src/_class_private_field_loose_key.js b/packages/swc-helpers/src/_class_private_field_loose_key.js index 8e7d4f6284f..a8c98ee7b00 100644 --- a/packages/swc-helpers/src/_class_private_field_loose_key.js +++ b/packages/swc-helpers/src/_class_private_field_loose_key.js @@ -1,5 +1,5 @@ var id = 0; -export function _classPrivateFieldLooseKey(name) { +export default function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }