GithubHelp home page GithubHelp logo

human9 / web-ext-types Goto Github PK

View Code? Open in Web Editor NEW

This project forked from synecdokey/web-ext-types

0.0 1.0 0.0 217 KB

TypeScript type definitions for Firefox WebExtensions

License: Mozilla Public License 2.0

web-ext-types's Introduction

web-ext-types

Build Status Npm Version

TypeScript type definitions for WebExtensions, based on MDN's documentation.

Requirements

As this library is using the object type and default values for generics, typescript should at least be on version 2.3 to get the definitions to work.

Install it

There is an npm package available, which means you can grab it from there:

# yarn version
yarn add web-ext-types --dev

# npm version
npm install --save-dev web-ext-types

Though if you want to use the git version, simply do:

# yarn version
yarn add kelseasy/web-ext-types --dev

# npm version
npm install --save-dev kelseasy/web-ext-types

As this is not a DefinitelyTyped package, you will have to include the type definition in your tsconfig.json by hand, via a typeRoots option.

{
  "compilerOptions": {
    // You have to explicitly set @types to get DefinitelyTyped type definitions
    "typeRoots": ["node_modules/@types", "node_modules/web-ext-types"],
  }
}

web-ext-types's People

Contributors

a-ctor avatar anantoghosh avatar antonva avatar behindthemath avatar cito avatar cmcaine avatar crimx avatar davidkarlsson avatar dmitrik avatar enverosmanov avatar human9 avatar jack-works avatar ke-d avatar klaster1 avatar kocal avatar koushien avatar loic-martinez-freelance avatar nitecube avatar ntninja avatar phaux avatar tim-we avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.