From 37dd4165053ec6d57b7ff958dc97c3dc3f01a568 Mon Sep 17 00:00:00 2001 From: ztplz Date: Mon, 4 Jun 2018 15:06:42 +0800 Subject: [PATCH] fix typescript error (#99) --- runtime.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime.ts b/runtime.ts index 2d8b624bbe..6bc09dd89e 100644 --- a/runtime.ts +++ b/runtime.ts @@ -19,8 +19,8 @@ import * as deno from "./deno"; const EOL = "\n"; // tslint:disable-next-line:no-any -type AmdFactory = (...args: any[]) => undefined | object; -type AmdDefine = (deps: string[], factory: AmdFactory) => void; +export type AmdFactory = (...args: any[]) => undefined | object; +export type AmdDefine = (deps: string[], factory: AmdFactory) => void; // Uncaught exceptions are sent to window.onerror by v8worker2. // https://git.io/vhOsf