Rename .js/.jsx to .ts/.tsx
This commit is contained in:
parent
257162e5b6
commit
c60d0e7392
151 changed files with 0 additions and 0 deletions
15
src/background/controllers/LinkController.ts
Normal file
15
src/background/controllers/LinkController.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
import LinkUseCase from '../usecases/LinkUseCase';
|
||||
|
||||
export default class LinkController {
|
||||
constructor() {
|
||||
this.linkUseCase = new LinkUseCase();
|
||||
}
|
||||
|
||||
openToTab(url, tabId) {
|
||||
this.linkUseCase.openToTab(url, tabId);
|
||||
}
|
||||
|
||||
openNewTab(url, openerId, background) {
|
||||
this.linkUseCase.openNewTab(url, openerId, background);
|
||||
}
|
||||
}
|
Reference in a new issue