diff --git a/types/ember-testing-helpers/tsconfig.json b/types/ember-testing-helpers/tsconfig.json index aaf474ecba..cd7634bd25 100644 --- a/types/ember-testing-helpers/tsconfig.json +++ b/types/ember-testing-helpers/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "allowSyntheticDefaultImports": true }, "files": [ "index.d.ts", diff --git a/types/ember/tsconfig.json b/types/ember/tsconfig.json index d2f27dfec9..fbc4052a08 100644 --- a/types/ember/tsconfig.json +++ b/types/ember/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "allowSyntheticDefaultImports": true }, "files": [ "index.d.ts", "ember-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/rsvp/index.d.ts b/types/rsvp/index.d.ts index a983904718..7ea82988f4 100644 --- a/types/rsvp/index.d.ts +++ b/types/rsvp/index.d.ts @@ -379,4 +379,4 @@ declare namespace RSVP { export function rethrow(reason: C): void; } -export default RSVP; +export = RSVP; diff --git a/types/rsvp/rsvp-tests.ts b/types/rsvp/rsvp-tests.ts index 519947dcc7..aec0acfede 100644 --- a/types/rsvp/rsvp-tests.ts +++ b/types/rsvp/rsvp-tests.ts @@ -1,4 +1,4 @@ -import RSVP from 'rsvp'; +import RSVP = require('rsvp'); let promise1: RSVP.Promise = RSVP.Promise.resolve(1); let promise1a: RSVP.Promise = RSVP.resolve(1); diff --git a/types/rsvp/tsconfig.json b/types/rsvp/tsconfig.json index 58c8e605be..4eb44a2f7d 100644 --- a/types/rsvp/tsconfig.json +++ b/types/rsvp/tsconfig.json @@ -19,4 +19,4 @@ "index.d.ts", "rsvp-tests.ts" ] -} \ No newline at end of file +}