Rename .js/.jsx to .ts/.tsx
This commit is contained in:
parent
257162e5b6
commit
c60d0e7392
151 changed files with 0 additions and 0 deletions
|
@ -1,13 +0,0 @@
|
|||
export default class BookmarkRepository {
|
||||
async create(title, url) {
|
||||
let item = await browser.bookmarks.create({
|
||||
type: 'bookmark',
|
||||
title,
|
||||
url,
|
||||
});
|
||||
if (!item) {
|
||||
throw new Error('Could not create a bookmark');
|
||||
}
|
||||
return item;
|
||||
}
|
||||
}
|
Reference in a new issue