Document semi-private API

This commit is contained in:
Jordan Eldredge 2019-05-02 07:30:43 -07:00
parent 3d549190f7
commit f6c2d6b5d2
2 changed files with 4 additions and 0 deletions

View file

@ -12,6 +12,9 @@ interface StereoBalanceNodeType extends AudioNode {
};
}
// NOTE: While this is not technically a public API, https://winampify.io/ is
// replacing this class with a custom version. Breaking changes to this API
// surface should be communicated to Remi.
export default class Media {
_emitter: Emitter;
_context: AudioContext;

View file

@ -125,6 +125,7 @@ interface PrivateOptions {
};
};
__butterchurnOptions: ButterchurnOptions;
// This is used by https://winampify.io/ to proxy through to Spotify's API.
__customMediaClass: typeof Media; // This should have the same interface as Media
}