Comments (11)
I ran into this issue too when building locally and rather than trying to fix all the types I just skipped the lib type check with this typescript compiler flag
"skipLibCheck": true
from listr2.
I have seen some tsc references build errors but this is like complaining about all the types. I will have a look but do not have much idea about the ETA nor where to start.
from listr2.
Can you confirm that you have only one version of listr in your monorepo? But even though you do have two it is still too much errors.
And can you confirm whether it builds without the references and manually building them first.
from listr2.
tried it. still not building.
tsserver is reporting all of the same issues as the compiler though.
from listr2.
Also checked to confirm that only one version was available. The only version I can find is 3.0.1 in my root node_modules
from listr2.
I am bit baffled about this. Havent had any progress with it.
from listr2.
I found it to be because of the highly customized tsconfig in the repo. When I was contributing to the project I couldn't even get the @<path>
to resolve correctly, nor could I get the examples to build without some intervention
from listr2.
I am also having issues with the type declarations, I created an example by copying the examples directory and updating the imports to use the npm package. I created a workflow to show the errors.
from listr2.
Okay thank you for reproduction. I will have a further look at it. The problem seems to be assigning default renderer for type completion again. I guess i have to find another way to do that part. In the mean time you can disable library type check in the tsconfig file if you wish.
from listr2.
On further notice I have realized that it does not return the static options and per task options properties of renderer by generics. Earlier versions supposedly returned rendererOptions and per task options utilizing generic types. I will go back and take a look which update did broke it.
from listr2.
🎉 This issue has been resolved in version 3.2.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
from listr2.
Related Issues (20)
- [Support]: How do i signal that root task is failed after returning newListr with a list of subtasks? HOT 4
- [Support]: How to rerun a Task? HOT 3
- [Bug]: Task run finished should return task return value HOT 1
- [Bug]: `persistentOutput` with output streaming HOT 1
- [Feature]: consider supporting the node14 version? HOT 4
- [Feature]: Multiline output for DefaultRenderer HOT 1
- [Bug]: disableColor option is ignored HOT 4
- [Bug]: Documentation site broken HOT 3
- [Bug]: SyntaxError: Unexpected token '??=' HOT 1
- [Bug]: TypeError: Cannot read properties of undefined (reading 'collapseSubtasks') HOT 5
- [Support]: How to use node-schedule? HOT 4
- [Support]: How to handle nested listr2 HOT 3
- [Support]: How to pin an output? HOT 4
- [Bug]: SimpleRenderer should not invoke process.release HOT 5
- [Support]: Is there a way to clear output per task? HOT 3
- [Bug]: Doc site broken HOT 5
- [Bug]: `rxjs` is imported in the exported typescript definition but is declared as a dev dependency HOT 10
- [Bug]: Using inquirer prompting, messages seem to wrap too soon HOT 1
- [Bug]: SIGINT listener added, but not removed, causing unwanted behavior HOT 16
- [Bug]: [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received undefined HOT 5
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 listr2.