From e0b9fc83faabb101944b63bc73b710be7787f15b Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Mon, 12 Jul 2021 14:05:50 -0700 Subject: [PATCH] Add `any` default return type to `compile()` --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index b8d40d5..8030c3c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -130,7 +130,7 @@ namespace degenerator { export interface CompileOptions extends RunningScriptOptions { sandbox?: Context; } - export function compile( + export function compile( code: string, returnName: string, names: DegeneratorNames,