fix(code-runtime): keep worker helper private

This commit is contained in:
Tianyi Cui
2026-07-23 01:35:33 +08:00
parent fb74156cf8
commit 8379101e3b
@@ -230,7 +230,7 @@ export type BindingErrorConstructor = new (memberName: string, message: string)
* @param descriptor - program-global class name and member-name property. * @param descriptor - program-global class name and member-name property.
* @returns the constructor injected into the program and used for rejections. * @returns the constructor injected into the program and used for rejections.
*/ */
export function makeBindingErrorClass( function makeBindingErrorClass(
descriptor: { name: string; memberNameProperty: string }, descriptor: { name: string; memberNameProperty: string },
): BindingErrorConstructor { ): BindingErrorConstructor {
return class BindingCallError extends Error { return class BindingCallError extends Error {