From bcc73a6700e3a833cae32073e06c902e765658e9 Mon Sep 17 00:00:00 2001 From: Jonny Taylor Date: Sun, 18 Jun 2017 21:07:12 +0100 Subject: [PATCH] add mainloop.js export --- types/mainloop.js/index.d.ts | 4 ++++ types/mainloop.js/tsconfig.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/types/mainloop.js/index.d.ts b/types/mainloop.js/index.d.ts index f34d6f035a..e6263218c1 100644 --- a/types/mainloop.js/index.d.ts +++ b/types/mainloop.js/index.d.ts @@ -3,6 +3,10 @@ // Definitions by: Isaac Sukin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +declare module 'mainloop.js' { + export default MainLoop; +} + /** * Interface for the MainLoop.js global. * diff --git a/types/mainloop.js/tsconfig.json b/types/mainloop.js/tsconfig.json index 86c619379e..5dae699f05 100644 --- a/types/mainloop.js/tsconfig.json +++ b/types/mainloop.js/tsconfig.json @@ -20,4 +20,4 @@ "index.d.ts", "mainloop.js-tests.ts" ] -} \ No newline at end of file +}