Code Monkey home page Code Monkey logo

Comments (8)

mattdesl avatar mattdesl commented on August 29, 2024 4

I'm definitely 👍 on Typescript definitions. It's not really an area I'm familiar with, but open to PRs and more discussion.

from canvas-sketch-util.

babausias avatar babausias commented on August 29, 2024 1

I found this package which has enabled intellisense in the IDE for me:
https://www.npmjs.com/package/canvas-sketch-util-types

I added it manually to the dev dependencies to the package.json:

"devDependencies": {
    "@types/canvas-sketch-util": "npm:canvas-sketch-util-types"
  }

from canvas-sketch-util.

awaer avatar awaer commented on August 29, 2024

I believe these are generated by Visual Studio Code.

https://code.visualstudio.com/docs/editor/intellisense

from canvas-sketch-util.

neefrehman avatar neefrehman commented on August 29, 2024

@awaer yes they should be generated by the editor, but usually this is only possible if the library emits a .d.ts file, which I don't think canvas-sketch-util does. I'm using VSCode but can't see any of the definitions. Have you had luck getting them to show?

from canvas-sketch-util.

smhutch avatar smhutch commented on August 29, 2024

@mattdesl I have been using these utils quite extensively in my own projects, and have made a start on adding types to my personal site. I would be happy to help out with adding types to this repo.

from canvas-sketch-util.

elesq avatar elesq commented on August 29, 2024

was this ever resolved ?

from canvas-sketch-util.

bulkan avatar bulkan commented on August 29, 2024

@smhutch can you provide a PR with your typedefs?

from canvas-sketch-util.

elesq avatar elesq commented on August 29, 2024

Did this ever get followed up on?

from canvas-sketch-util.

Related Issues (10)

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.