Skip to content
On this page

Constructor type

JavaScript constructor type.

Usage example:

typescript
class Animal {}

const constr_1: Constructor = String
const constr_2: Constructor = Animal
const constr_3: Constructor = function () {}

Released under the MIT License.