diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-03-16 22:40:26 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-16 22:40:26 +0900 |
commit | d8bbad8e1b774d6e46c7fa05324c90ce2b716a66 (patch) | |
tree | 4d4dd139b2e73bbaa5643e5b3bd6e123a6ce3e99 /src/background/repositories | |
parent | 1f2afb8c157aa601e7cbd46041c9bf063c63d982 (diff) | |
parent | 04ebd1e5331d29b2413c174ae0fe9d73566b3b8d (diff) |
Merge pull request #1034 from ueokande/iframe-dynamic-resize
Iframe dynamic resize
Diffstat (limited to 'src/background/repositories')
-rw-r--r-- | src/background/repositories/FindRepository.ts | 2 | ||||
-rw-r--r-- | src/background/repositories/MarkRepository.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/background/repositories/FindRepository.ts b/src/background/repositories/FindRepository.ts index be56284..813e065 100644 --- a/src/background/repositories/FindRepository.ts +++ b/src/background/repositories/FindRepository.ts @@ -15,7 +15,7 @@ export default class FindRepository { return Promise.resolve(this.cache.get(FIND_KEYWORD_KEY)); } - setKeyword(keyword: string): Promise<any> { + setKeyword(keyword: string): Promise<void> { this.cache.set(FIND_KEYWORD_KEY, keyword); return Promise.resolve(); } diff --git a/src/background/repositories/MarkRepository.ts b/src/background/repositories/MarkRepository.ts index e2c1e94..493b25a 100644 --- a/src/background/repositories/MarkRepository.ts +++ b/src/background/repositories/MarkRepository.ts @@ -22,7 +22,7 @@ export default class MarkRepository { return Promise.resolve(mark); } - setMark(key: string, mark: GlobalMark): Promise<any> { + setMark(key: string, mark: GlobalMark): Promise<void> { const marks = this.getOrEmptyMarks(); marks[key] = { tabId: mark.tabId, url: mark.url, x: mark.x, y: mark.y }; this.cache.set(MARK_KEY, marks); |