Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Rollup Warning: This expression is not constructable #32

Description

@idleberg

Prerequisites

None of the prerequisites applies to this bug

Description

Since upgrading to v0.8.0, Rollup reports the following warning when trying to compile a script that instantiates the SelectList class:

(!) Plugin typescript: @rollup/plugin-typescript TS2351: This expression is not constructable.
Type 'typeof import(".../node_modules/atom-select-list/lib/select-list-view")' has no construct signatures.

Steps to Reproduce

  1. Add atom-select-list@0.8.0 as a package dependency
  2. Instantiate the class new SelectList() in a package written in TypeScript
  3. Build using Rollup

Versions

Atom    : 1.54.0
Electron: 6.1.12
Chrome  : 76.0.3809.146
Node    : 12.4.0

$ apm --version
apm  2.5.2
npm  6.14.8
node 12.4.0 x64
atom 1.54.0
python 2.7.16
git 2.30.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions