mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-04 19:42:46 +08:00
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'
This commit is contained in:
4
types/karma-fixture/index.d.ts
vendored
4
types/karma-fixture/index.d.ts
vendored
@@ -1,6 +1,7 @@
|
||||
// Type definitions for karma-fixture 0.2.6
|
||||
// Project: https://github.com/billtrik/karma-fixture
|
||||
// Definitions by: Ezekiel Victor <https://github.com/evictor>
|
||||
// Afshawn Lotfi <https://github.com/afshawnlotfi>
|
||||
// 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;
|
||||
|
||||
Reference in New Issue
Block a user