Class constructor call

Syntax only

This plugin only allows Babel to parse this syntax. If you want to transform it then see transform-class-constructor-call.

This plugin allows Babel to parse callable class constructors.

Installation

$ npm install babel-plugin-syntax-class-constructor-call

Usage

Add the following line to your .babelrc file:

{
  "plugins": ["syntax-class-constructor-call"]
}