File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed
Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 11dist /js /*
2- .vscode
32storybook-static /*
43
54/node_modules
Original file line number Diff line number Diff line change 1616- Updated placeholder icon for extension
1717- Verified support for Microsoft Edge
1818- Updated ` README.md ` screenshots
19+ - Add ` .vscode ` directory with workplace settings and recommended extensions
Original file line number Diff line number Diff line change 22// Update this file to include any mocks for the `webextension-polyfill-ts` package
33// This is used to mock these values for Storybook so you can develop your components
44// outside the Web Extension environment provided by a compatible browser
5+ // See .storybook/main.js to see how this module is swapped in for `webextension-polyfill-ts`
56export const browser : any = {
67 tabs : {
78 executeScript ( currentTabId : number , details : any ) {
89 return Promise . resolve ( { done : true } ) ;
910 } ,
11+ query ( params : any ) : Promise < Tab [ ] > {
12+ return Promise . resolve ( [ ] ) ;
13+ } ,
14+ } ,
15+ runtime : {
16+ sendMessage : ( params : { popupMounted : boolean } ) => {
17+ return ;
18+ } ,
1019 } ,
1120} ;
1221
22+ interface Tab {
23+ id : number ;
24+ }
25+
1326export interface Tabs {
14- Tab : {
15- id : number ;
16- } ;
27+ Tab : Tab ;
1728}
You can’t perform that action at this time.
0 commit comments