cbowdon/TsMonad

Type file is missing in 0.7.1

Closed this issue ยท 4 comments

I installed 0.7.1, and it complained that it couldn't find the type file for tsmonad. I installed 0.7.0, and it worked.

With 0.7.1, when I looked in "node_modules/tsmonad/dist/tsmonad.d.ts", I didn't see a tsmonad.d.ts.

Thanks for raising this. Probably related to the extra typings section I mistakenly merged in recently. Will push 0.7.2 shortly.

Ok, 0.7.2 is up. Is that working for you?

Yup, it is, thanks! ๐Ÿ’ฏ

This is likely user error as I'm new to typescript, but I'm having the same issue with 0.8.0. As a sanity check, I installed 0.7.2, but even with that version I still don't see the tsmonad.d.ts file.

With latest (0.8.0):

Matts-MacBook-Pro-3:typescript russell$ npm install tsmonad
npm WARN test@1.0.0 No description
npm WARN test@1.0.0 No repository field.

+ tsmonad@0.8.0
added 1 package in 0.626s
Matts-MacBook-Pro-3:typescript russell$ tree node_modules/
node_modules/
โ””โ”€โ”€ tsmonad
    โ”œโ”€โ”€ LICENSE-MIT
    โ”œโ”€โ”€ README.md
    โ”œโ”€โ”€ dist
    โ”‚   โ”œโ”€โ”€ tsmonad.js
    โ”‚   โ””โ”€โ”€ tsmonad.js.map
    โ”œโ”€โ”€ lib
    โ”‚   โ””โ”€โ”€ src
    โ”‚       โ”œโ”€โ”€ either.d.ts
    โ”‚       โ”œโ”€โ”€ index.d.ts
    โ”‚       โ”œโ”€โ”€ maybe.d.ts
    โ”‚       โ”œโ”€โ”€ monad.d.ts
    โ”‚       โ””โ”€โ”€ writer.d.ts
    โ””โ”€โ”€ package.json

4 directories, 10 files

Any help would be appreciated, thanks!