mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
Add module declaration to crossfilter so that it can be explicitly imported (#11521)
This commit is contained in:
committed by
Mohamed Hegazy
parent
55d9114bbd
commit
d907b02638
Vendored
+6
-1
@@ -1,6 +1,6 @@
|
||||
// Type definitions for CrossFilter
|
||||
// Project: https://github.com/square/crossfilter
|
||||
// Definitions by: Schmulik Raskin <https://github.com/schmuli>
|
||||
// Definitions by: Schmulik Raskin <https://github.com/schmuli>, Izaak Baker <https://github.com/iebaker>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare namespace CrossFilter {
|
||||
@@ -111,3 +111,8 @@ declare namespace CrossFilter {
|
||||
}
|
||||
|
||||
declare var crossfilter: CrossFilter.CrossFilterStatic;
|
||||
declare module "crossfilter" {
|
||||
var crossfilter: CrossFilter.CrossFilterStatic;
|
||||
export = crossfilter;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user