We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Any thoughts on publishing type signatures for this project? I've worked around this locally by doing...
lib/types.ts
import * as p5 from 'p5'; import { ComponentType } from 'react'; export type P5WrapperComponent = ComponentType<{ sketch: (p: p5) => void }>;
index.d.ts
declare module 'react-p5-wrapper' { import { P5WrapperComponent } from './lib/types'; export default P5WrapperComponent; }
The text was updated successfully, but these errors were encountered:
This will be done in the future when #65 is implemented but this will take some time as the process for v3 has just began.
Closing issue for now since to implement this today isn't as easy as you'd think with the current setup but will be in v3 as I said.
Sorry, something went wrong.
jamesrweb
Successfully merging a pull request may close this issue.
Any thoughts on publishing type signatures for this project? I've worked around this locally by doing...
lib/types.ts
index.d.ts
The text was updated successfully, but these errors were encountered: