Created
June 24, 2020 12:36
-
-
Save alejandrocoding/2b3b18ac5231902c44a927d6eba876ce to your computer and use it in GitHub Desktop.
Creating constants for bookmark folder and link item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const BOOKMARK_FOLDER: chrome.bookmarks.BookmarkCreateArg = { | |
parentId: '1', | |
title: 'BookMark!', | |
} as const; | |
export const BOOKMARK_LINK: chrome.bookmarks.BookmarkCreateArg = { | |
title: 'My first BookMark from Extension!', | |
url: 'https://google.es/', | |
} as const; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment