GithubHelp home page GithubHelp logo

Comments (5)

mkartchner994 avatar mkartchner994 commented on June 5, 2024 2

@mindsers If you wanted to make the PR to this repo, that would be great. Thanks!

from dayzed.

mkartchner994 avatar mkartchner994 commented on June 5, 2024 1

Personally, I have not done much typescript, but am interested in learning it. That being said, It probably won't be in the near future. I would be willing to work with anyone who wanted to contribute types to the project though.

Truthfully, the types in DefinitelyTyped are probably not far off. The biggest difference from 2.2 to the 3 version is that it doesn't use a class component anymore. It still is expecting the same Props and returns the same RenderProps.

Let me know if you have any interest in contributing those types. If not, I'll still leave this issue open for anyone else who might be.

Thanks for taking interest in Dayzed!

from dayzed.

mkartchner994 avatar mkartchner994 commented on June 5, 2024 1

@stramel This is awesome, thanks!

I'll close this issue for now, but @mindsers, if you are still interested in submitting a PR to add these into the repo please do so.

from dayzed.

mindsers avatar mindsers commented on June 5, 2024

I can give it a shot. I would be happy to help with that. 👍

Should I make a PR with types to this repo or do you prefer me to update the DefinitelyTyped one ?
I have a preference for the first solution but not a strong opinion on it. 😉

from dayzed.

stramel avatar stramel commented on June 5, 2024

The types have been updated in DefinitelyTyped to export the useDayzed hook. DefinitelyTyped/DefinitelyTyped#43189

from dayzed.

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.