Coder Social home page Coder Social logo

Comments (5)

uittorio avatar uittorio commented on July 16, 2024 1

Hi again, I had a quick look. Something is wrong with defaults generics. I've tried to default the generic doing this but there is another issue related to that generic.

createMock<Request<{ [key: string]: string; }>>();

You may have to wait few more days to use that interface

from jest-ts-auto-mock.

uittorio avatar uittorio commented on July 16, 2024

Hi, I'm sorry you are finding more issues. That ids error indicates that something got wrong when generating generics. I'll keep you updated :)

from jest-ts-auto-mock.

bboguszewski avatar bboguszewski commented on July 16, 2024

No worries. It's the only way I can contribute ;)

from jest-ts-auto-mock.

uittorio avatar uittorio commented on July 16, 2024

@barthpl morning and happy new year :) A new version has been released. 1.0.10 :) I've tested it with the entire express module. It should work, let me know if you have any issue. You may have to install the latest of ts-auto-mock if you've installed separately.

from jest-ts-auto-mock.

bboguszewski avatar bboguszewski commented on July 16, 2024

@uittorio happy new year to you too. Fix works perfect. Thank you.
If you decide to come to Wroclaw (Poland) let me know - I own you a bear.

from jest-ts-auto-mock.

Related Issues (11)

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.