0.0.3 • Published 3 years ago

@atvise/types-webmi v0.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

@atvise/types-webmi

Type definitions for webmi.js

Please note that these definitions are currently work in progress.

Installation

Run npm install --save-dev @atvise/types-webmi to install this package from npm.

Usage

In your script, that has access to window.webMI add a Tripple-Slash-Directive.

/// <reference types="@atvise/types-webmi" />

// At this point, TypeScript will know the `webMI` global and it's type.

// Fails, because `isPaused()` returns a boolean
const test = webMI.data.isPaused() + 3;

This package is part of the create-atvise-app project.

Refer to it's documentation for more information.

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

4 years ago

0.0.0

4 years ago

0.1.0

4 years ago