Skip to content

Conversation

@alrickemilien
Copy link

Trying to answer to #69

Implementation may not be as usual, it's nested into the repo and referenced by the package.json.

Other packages implement typings at DefinitelyTyped.

The file index.d.ts into the folder types/soundcloud should be available at base directory of the npm package, next to sdk.js.

@Andrewjeska
Copy link

I'm sorry that this wasn't approved and merged. I'm using this via copy-and-paste and it works well so far.

let timerId = 0;
let previousPosition = null;
scaudioPlayer.onChange.subscribe(({ playing, seeking, dead }) => {
if (!window) return;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}
});
function doEmit() {
if (!window) return;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants