You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently it's recommended to generate type by self
In p5js 2.0, upstream will release the type file, so I am not maintaining this repo now.
grep "createFramebuffer" -r . --exclude "*.json"
./types/p5/global.d.ts: * Note: createFramebuffer() can only be used in
./types/p5/global.d.ts: function createFramebuffer(options?: object): p5.Framebuffer;
./types/p5/src/webgl/p5.Shader.d.ts: * createFramebuffer(). Both objects have the same
./types/p5/src/webgl/p5.Framebuffer.d.ts: * Note: createFramebuffer() is the recommended way
./types/p5/src/core/p5.Graphics.d.ts: createFramebuffer(options?: object): Framebuffer;
./types/p5/src/core/rendering.d.ts: * Note: createFramebuffer() can only be used in
./types/p5/src/core/rendering.d.ts: createFramebuffer(options?: object): Framebuffer;
./node_modules/typescript/lib/lib.dom.d.ts: createFramebuffer(): WebGLFramebuffer | null;
./node_modules/typescript/lib/lib.webworker.d.ts: createFramebuffer(): WebGLFramebuffer | null;
(See
rendering.d.ts
,global.d.ts
,p5.Graphics.d.ts
)The function
should be defined as
See here for p5.js documentation: https://p5js.org/reference/#/p5.Graphics and https://p5js.org/reference/#/p5.Graphics/createFramebuffer
The text was updated successfully, but these errors were encountered: