-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type definitions and intellisense #13
Comments
I believe these are generated by Visual Studio Code. |
@awaer yes they should be generated by the editor, but usually this is only possible if the library emits a |
I'm definitely 👍 on Typescript definitions. It's not really an area I'm familiar with, but open to PRs and more discussion. |
@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. |
was this ever resolved ? |
@smhutch can you provide a PR with your typedefs? |
Did this ever get followed up on? |
I found this package which has enabled intellisense in the IDE for me: I added it manually to the dev dependencies to the package.json: "devDependencies": {
"@types/canvas-sketch-util": "npm:canvas-sketch-util-types"
} |
Hi @mattdesl, I've just been watching your Introduction to creative coding class on Frontend Masters, and noticed that when you're using this library your editor is giving you autocomplete and type annotations (pictured below). I've been looking around and can't see any type definitions in the library, is there a different way that you're getting these?
The text was updated successfully, but these errors were encountered: