Comments (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.
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.
update devDependencies
"rollup-plugin-typescript2": "^0.23.0"
from typescript-library-starter.
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.
I have the same problem! how did you resolved it?
from typescript-library-starter.
the same problem
from typescript-library-starter.
Also you need to bump the rollup version in devDependencies
"rollup": "^0.68.0"
from typescript-library-starter.
Solved this by npm install tslib@latest --save
from typescript-library-starter.
Related Issues (20)
- [typings] How to merge d.ts files under one namespace?
- ES6 imports
- automatically update year in license to current year
- use ISC license
- found 326 vulnerabilities (73 low, 1 moderate, 252 high) HOT 1
- Source maps pointing outside of dist folder
- Import does not work HOT 1
- when i clone github project directly install times error
- README: add instructions/steps on how to use this together with `google/clasp`
- How to integrate REACT HOT 1
- Not getting autocompletion when importing published library in a project HOT 1
- Better post-install markdown file generation.
- some dependencies need upgrade
- How to use library version in package.json
- How should I got the correct version field in package.json?
- Is this package dead? HOT 7
- node_modules/@types/node/assert.d.ts(1) '{' or ';' expected. HOT 5
- Is it possible to use this to export a function that calls ReactDOM.render, rather than rendering automatically?
- Error: Cannot find module scoped private package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-library-starter.