Code Monkey home page Code Monkey logo

Comments (4)

sleeyax avatar sleeyax commented on May 18, 2024 2

Never mind, I fixed it by explicitly specifying the typescript version that is specified in this project's package.json: npx -p [email protected] -p cjstoesm cjstoesm ./src/lib. I wish this was documented in the README though.

from cjstoesm.

christinachimi avatar christinachimi commented on May 18, 2024

I'm experiencing this same issue but setting the TS version isn't helping. May create a new issue if I can't figure it out.

from cjstoesm.

dmnsgn avatar dmnsgn commented on May 18, 2024

With TypeScript 4.9.5, I am getting the following warning:

DeprecationWarning: 'isTypeAssertion' has been deprecated since v4.0.0. Use `isTypeAssertionExpression` instead.
DeprecationWarning: 'createImportDeclaration' has been deprecated since v4.8.0. Decorators are no longer supported for this function. Callers should switch to an overload that does not accept a 'decorators' parameter.
DeprecationWarning: 'createExportAssignment' has been deprecated since v4.8.0. Decorators are no longer supported for this function. Callers should switch to an overload that does not accept a 'decorators' parameter.

They seem related to the ImportClause issue above.

Can we reopen this issue or create a new one as it seems TypeScript 5 support is not 100% here?

from cjstoesm.

mistadikay avatar mistadikay commented on May 18, 2024

I'm experiencing this same issue but setting the TS version isn't helping. May create a new issue if I can't figure it out.

Might be late for you, but for others for future reference: make sure you install cjstoesm in your project directory with typescript@4. If you install it globally, then make sure that typescript globally is also v4.

from cjstoesm.

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.