Code Monkey home page Code Monkey logo

Comments (4)

neurosnap avatar neurosnap commented on June 2, 2024

This must be an issue with StackBlitz because when I download the project locally and run it, there are no typescript issues. Could you please create a github repo that I could clone locally that replicates this issue?

from redux-saga.

tsopeh avatar tsopeh commented on June 2, 2024

It works well in VS Code (locally), but JS files in WebStorm (locally) do not recognise types for "redux-saga/effects". Many other libraries work fine.

Here's the exported StackBlitz project. You can export it as well by clicking to the "Download Project" button.

ZIP: typescript-ojxbva.zip

image

from redux-saga.

neurosnap avatar neurosnap commented on June 2, 2024

Running that project using vite works fine. Running the project using VS Code works fine. Is it possible this is an issue specifically with WebStorm/Stackblitz? Are there any other IDEs or bundlers that you notice the same typing issue?

I don't want to be dismissive and say this is a WebStorm/Stackblitz problem so I'm happy to guide anyone through this issue and accept any PRs that fix the problem. However, I don't personally have the bandwidth to debug an IDE specific issue with redux-saga.

Thanks for raising this issue and again, happy to help where I can on fixing this issue.

from redux-saga.

simlmx avatar simlmx commented on June 2, 2024

I had the same issue using rollup and this typescript plugin: https://www.npmjs.com/package/rollup-plugin-typescript2

Using the official plugin instead fixed the issue:
https://www.npmjs.com/package/@rollup/plugin-typescript

from redux-saga.

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.