From 7d5307d0ec3d2340ac75b7a066a86ffc31986dce Mon Sep 17 00:00:00 2001 From: flushentitypacket Date: Tue, 6 Jun 2017 21:31:41 -0400 Subject: [PATCH] Export as `export = moxios` to match the moxios package export. (#16913) --- types/moxios/index.d.ts | 2 +- types/moxios/moxios-tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/moxios/index.d.ts b/types/moxios/index.d.ts index d3d6dd5b51..94756158c9 100644 --- a/types/moxios/index.d.ts +++ b/types/moxios/index.d.ts @@ -189,4 +189,4 @@ declare let moxios: { wait(fn: () => void, delay?: number): void; }; -export default moxios; +export = moxios; diff --git a/types/moxios/moxios-tests.ts b/types/moxios/moxios-tests.ts index 82ceb8535b..0e6820d287 100644 --- a/types/moxios/moxios-tests.ts +++ b/types/moxios/moxios-tests.ts @@ -1,7 +1,7 @@ // from https://github.com/mzabriskie/moxios/blob/master/test.js import {equal, notEqual, deepEqual} from 'power-assert'; // compatible with 'assert'; import axios from 'axios'; -import moxios from 'moxios'; +import * as moxios from 'moxios'; declare const sinon: any; declare const describe: any;