RecipesChapter 11: Classes

Describing Constructors and Prototypes

Recipe 11.3 from The TypeScript Cookbook

filterMap.set('notworking', FilterItem);
//                          ^
// Cannot assign an abstract constructor type to a
// non-abstract constructor type.
Open in TypeScript Playground →