Open ghost opened 1 year ago
I created some types for anyone else who might be looking for them.
The definitions include Stripo
, StripoApi
, StripoInitOptions
and other related object interfaces.
These are fairly complete and they include even the undocumented StripoApi
members.
Here's how I generated the docs from your plugin support page...
Here are the types updated from latest docs (~ release 1.77.0).
In whatever code initializes the Stripo API you can put the following to use the types.
declare global {
interface Window {
Stripo: Stripo;
StripoApi: StripoApi;
}
}
Hello, you have quite a few options to initialize Stripo.
Do you have any typescript definitions for this?