Skip to content

dacioromero/types-wm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Maintenance notice

As I am no longer an employee of Coil, this repo will likely no longer be maintained. If you'd like to maintain this repo please leave an issue.

Install

$ npm install types-wm --save-dev

or

$ yarn add types-wm --dev

Usage

Import for monetization to be added to document.

import 'types-wm'

or

import { MonetizationState } from 'types-wm'