From ec2fbc378c821185cf88782f424c413a9ecc11c1 Mon Sep 17 00:00:00 2001 From: Afshawn Lotfi Date: Thu, 31 May 2018 02:17:52 -0400 Subject: [PATCH] Fixed index.d.ts to be used as a module index.d.ts can allow karma-fixture to be imported as a module like so: import fixture from 'karma-fixture' --- types/karma-fixture/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/karma-fixture/index.d.ts b/types/karma-fixture/index.d.ts index 75212799c1..32614e1e7d 100644 --- a/types/karma-fixture/index.d.ts +++ b/types/karma-fixture/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for karma-fixture 0.2.6 // Project: https://github.com/billtrik/karma-fixture // Definitions by: Ezekiel Victor +// Afshawn Lotfi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace fixture { @@ -25,3 +26,6 @@ declare namespace fixture { export function setBase(fixtureBasePath: string): void; } + +export = fixture; +export as namespace fixture;