diff options
author | ztplz <mysticzt@gmail.com> | 2018-06-04 15:06:42 +0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-06-04 09:06:42 +0200 |
commit | 37dd4165053ec6d57b7ff958dc97c3dc3f01a568 (patch) | |
tree | 20072bdf69a7a7098bf2ffa40490cc1169de68fe | |
parent | 3ddb4017fd7c7bb6f0eafe6b23eb0ef6a70cd0d7 (diff) |
fix typescript error (#99)
-rw-r--r-- | runtime.ts | 4 |
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 |