danestves / browser-monads-ts

Provide interfaces for the window, document and navigator variables of a webpage to be used on SSR and Client.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error TS7016: Could not find a declaration file for module 'browser-monads-ts'.

geyang opened this issue · comments

Hi, I am switching from the browser-monads package to this one in order to
migrate a project to typescript. I am running into this error when compiling:

error TS7016: Could not find a declaration file for module 'browser-monads-ts'. 
'project/node_modules/browser-monads-ts/dist/browser-monads-ts.es.js' implicitly 
has an 'any' type.

There are types at 'project/node_modules/browser-monads-ts/dist/index.d.ts', but 
this result could not be resolved when respecting package.json "exports". The 
'browser-monads-ts' library may need to update its package.json or typings.

Is this project still maintained?