TS2511: Cannot create an instance of an abstract class.
Open
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 159
- PR merge metrics
- No merged PRs in 30d
Description
Perhaps I am misunderstanding the very first step of the README, that shows the following example of 'newing' up the Router class but the Typescript definition of Router is an abstract class.
import Router from 'router_js'
var router = new Router();
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.