After faffing around trying to get a simple canvas to prototype stuff on but with typescript, I found a combination of minimal packages and a bundler to get up and coding quickly.
GPL-3.0 License
This template is a variation of this template that includes a wrapped version of p5.js (p5i) and a canvas all ready to go.
This template allows you to just start coding in src/index.ts and live-edit an app without having to mess about with dependencies.
This template provides lots of help as well:
Features:
Usage:
Put your code into src/index.ts
yarn dev
Will start parcel's development server after building your app.
You can then (if using vscode) hit F5 to start a debugging session from vscode, launching chrome to browse your app.
Alternatively:
yarn build
Will build and output your app to dist/ ready to be served.