1.1.0 • Published 6 years ago
types-wm v1.1.0
Web Monetization Types
TypeScript types for Web Monetization.
Similar types will hopefully be added to lib.dom.d.ts if and when Web Monetization catches on.
Install
$ npm install types-wm --save-devor
$ yarn add types-wm --devUsage
Import for monetization to be added to document.
import 'types-wm'or
import { MonetizationState } from 'types-wm'