summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorztplz <mysticzt@gmail.com>2018-06-04 15:06:42 +0800
committerRyan Dahl <ry@tinyclouds.org>2018-06-04 09:06:42 +0200
commit37dd4165053ec6d57b7ff958dc97c3dc3f01a568 (patch)
tree20072bdf69a7a7098bf2ffa40490cc1169de68fe
parent3ddb4017fd7c7bb6f0eafe6b23eb0ef6a70cd0d7 (diff)
fix typescript error (#99)
-rw-r--r--runtime.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime.ts b/runtime.ts
index 2d8b624bb..6bc09dd89 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