preactjs / preact-router

:earth_americas: URL router for Preact.

Home Page:http://npm.im/preact-router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript error "Could not find a declaration file for module preact-router"

bjorn-ali-goransson opened this issue · comments

Do you know how to get rid of this error? 🤔

image

My source code is here .. https://github.com/cloudy-net/Cloudy.CMS/tree/master/Cloudy.CMS.UI/wwwroot-src

Opened a PR for this to get the ball rolling: #444

In the meantime, you can use an older (and more stable) moduleResolution value in your tsconfig.json.