Coder Social home page Coder Social logo

typescript types about blitzar HOT 5 CLOSED

cycraft avatar cycraft commented on May 17, 2024 1
typescript types

from blitzar.

Comments (5)

RobinRadic avatar RobinRadic commented on May 17, 2024 2

I did not generate it. It's 'manually' typed. Not really because most of it it straight from the source code itself:

  1. i copy all the lines for props from BlizzField

  2. i paste it

interface BlizzFormProps {
// paste it here
}
  1. edit it into correct typescript

from blitzar.

mesqueeb avatar mesqueeb commented on May 17, 2024

@RobinRadic Thank you so much for this!

What's the best way to include this in the source code you recon?

from blitzar.

RobinRadic avatar RobinRadic commented on May 17, 2024

@mesqueeb Your welcome
Check #60
It should do the trick for now, until someone creates proper type definitions for all packages.

from blitzar.

mesqueeb avatar mesqueeb commented on May 17, 2024

@RobinRadic how did you generate this file? in the future I'd need to auto generate this.

It will be easy once the entire library uses Vue 3 and TypeScript (planned) but in the meanwhile I'm interested to know how you generated this file!

from blitzar.

mesqueeb avatar mesqueeb commented on May 17, 2024

@RobinRadic last versions improved the types some more.

from blitzar.

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.