From 3fd8f6ddb0eca6400d92f12413a162f96a4fc2c0 Mon Sep 17 00:00:00 2001 From: timongh <46739861+timongh@users.noreply.github.com> Date: Mon, 20 Feb 2023 04:05:27 +0800 Subject: [PATCH] Change interface to type alias --- src/core/external-input/load-feature-code.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/external-input/load-feature-code.ts b/src/core/external-input/load-feature-code.ts index 95ef0d805..0b283d780 100644 --- a/src/core/external-input/load-feature-code.ts +++ b/src/core/external-input/load-feature-code.ts @@ -3,7 +3,7 @@ export class LoadFeatureCodeError extends Error {} /** * feature 代码运行沙箱 */ -interface CodeSandbox { +type CodeSandbox = { /** * 在沙箱中执行代码 *