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.
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 calledpreview-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.