Change typings to use default export #214

If you're using CommonJS, you will need to `import * as Shuffle from 'shufflejs'`.
If you're using webpack and ts is configured to maintain `import`s, you can use it like `import Shuffle from 'shufflejs'`
pull/265/head
Glen Cheney 5 年前
父節點 a4d99b9af9
當前提交 be410cc17f

2
index.d.ts vendored

@ -3,7 +3,7 @@
// Definitions by: Glen Cheney <https://github.com/Vestride>
export as namespace Shuffle;
export = Shuffle;
export default Shuffle;
interface FilterMode {
ALL: string;

載入中…
取消
儲存