Giter VIP home page Giter VIP logo

Comments (8)

SammyRobensParadise avatar SammyRobensParadise commented on June 1, 2024 8

Just as an update was experiencing this same issue again with:

"rollup-plugin-typescript2": "^0.29.0",
"rollup": "^2.38.5",

Bumping to v0.30.0 solved the issue.

"rollup-plugin-typescript2": "^0.30.0"

from typescript-library-starter.

NadaTO avatar NadaTO commented on June 1, 2024 7

if you are working with react app in typescript you may just need to install "tslib" to solve the problem.
====> npm install tslib

tslib will then be added to your package.json

from typescript-library-starter.

GooGee avatar GooGee commented on June 1, 2024 5

update devDependencies

"rollup-plugin-typescript2": "^0.23.0"

from typescript-library-starter.

Gr8tMiller avatar Gr8tMiller commented on June 1, 2024 1

my fault, adding

"importHelpers": true,

into tsconfig.json fix the problem.
refer https://www.typescriptlang.org/docs/handbook/compiler-options.html

from typescript-library-starter.

mjcc007 avatar mjcc007 commented on June 1, 2024

I have the same problem! how did you resolved it?

from typescript-library-starter.

yiliang114 avatar yiliang114 commented on June 1, 2024

the same problem

from typescript-library-starter.

benxaamin avatar benxaamin commented on June 1, 2024

Also you need to bump the rollup version in devDependencies

"rollup": "^0.68.0"

from typescript-library-starter.

jhunexjun avatar jhunexjun commented on June 1, 2024

Solved this by npm install tslib@latest --save

from typescript-library-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.