Using chrome extension apis in typescript

前端 未结 5 1558
广开言路
广开言路 2021-01-30 09:17

I\'m building a chrome extension written in TypeScript. I\'m using WebStorm and I added the chrome-DefiniteltyTyped library in my project.

However, when I w

5条回答
  •  星月不相逢
    2021-01-30 09:50

    That should work fine : https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/chrome/index.d.ts

    TIP: make sure you have a reference tag added:

    ///

提交回复
热议问题