Prechádzať zdrojové kódy

fix(code-runtime): keep worker helper private

Tianyi Cui 2 mesiacov pred
rodič
commit
8379101e3b

+ 1 - 1
packages/code-runtime/code-runtime-worker/src/bootstrap.ts

@@ -230,7 +230,7 @@ export type BindingErrorConstructor = new (memberName: string, message: string)
  * @param descriptor - program-global class name and member-name property.
  * @returns the constructor injected into the program and used for rejections.
  */
-export function makeBindingErrorClass(
+function makeBindingErrorClass(
   descriptor: { name: string; memberNameProperty: string },
 ): BindingErrorConstructor {
   return class BindingCallError extends Error {