toolness / p5.js-widget

A reusable widget for embedding editable p5 sketches in web pages.
https://toolness.github.io/p5.js-widget/
GNU Lesser General Public License v2.1
162 stars 44 forks source link

Move preview frame interfaces to their own module #44

Closed toolness closed 8 years ago

toolness commented 8 years ago

Right now all the interfaces shared between the preview frame and the widget are in typings/custom.d.ts, but this is unintuitive. We should probably make a separate module called preview-frame-interfaces.ts and have everything that needs an interface inherit from it, so we're more explicit and self-documenting.

We should only use typings/custom.d.ts for miscellaneous third-party code that isn't present on DefinitelyTyped.