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 pirms 5 gadiem
vecāks a4d99b9af9
revīzija be410cc17f

2
index.d.ts ārējs

@ -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;

Notiek ielāde…
Atcelt
Saglabāt