improve file structure + add TSX/JSX support
All checks were successful
/ test (push) Successful in 14s
All checks were successful
/ test (push) Successful in 14s
This commit is contained in:
parent
013c7cef7f
commit
a7aaff537f
13 changed files with 67 additions and 48 deletions
3
global.d.ts
vendored
3
global.d.ts
vendored
|
|
@ -8,5 +8,8 @@ export as namespace p5;
|
|||
declare global {
|
||||
interface Window {
|
||||
p5: typeof P5,
|
||||
setup: () => void,
|
||||
preload: () => void,
|
||||
draw: () => void
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue