From 025c921409caa53131bdacd3db2d4adeb1806d52 Mon Sep 17 00:00:00 2001 From: troy351 <914053923@qq.com> Date: Wed, 16 Mar 2022 19:30:50 +0800 Subject: [PATCH] fix(es/helpers): Export `classPrivateFieldLooseKey` as `default` (#4047) --- packages/swc-helpers/src/_class_private_field_loose_key.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }