mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 12:37:16 +08:00
Merge pull request #19567 from DefinitelyTyped/js-quantities-export
js-quantities: Use `export =`
This commit is contained in:
2
types/js-quantities/index.d.ts
vendored
2
types/js-quantities/index.d.ts
vendored
@@ -69,4 +69,4 @@ declare namespace Qty {
|
||||
type UnitSource = Qty | string;
|
||||
}
|
||||
|
||||
export default Qty;
|
||||
export = Qty;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import Qty from "js-quantities";
|
||||
import Qty = require("js-quantities");
|
||||
|
||||
declare function describe(desc: string, fn: () => void): void;
|
||||
declare function it(desc: string, fn: () => void): void;
|
||||
|
||||
Reference in New Issue
Block a user