aboutsummaryrefslogtreecommitdiff
path: root/src/background/completion/impl/TabRepositoryImpl.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-08-11 21:40:23 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-08-11 21:40:23 +0900
commit0b98a22eba4f7bbac215abd800293ac2be67b24d (patch)
treeae78b7edc460a79708742bff55c4c6fa55699e47 /src/background/completion/impl/TabRepositoryImpl.ts
parentf497109ecc801660dc23bbad8445b120cd75561e (diff)
Enable @typescript-eslint/no-extra-non-null-assertion
Diffstat (limited to 'src/background/completion/impl/TabRepositoryImpl.ts')
-rw-r--r--src/background/completion/impl/TabRepositoryImpl.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/background/completion/impl/TabRepositoryImpl.ts b/src/background/completion/impl/TabRepositoryImpl.ts
index 5e33e5a..a279bd4 100644
--- a/src/background/completion/impl/TabRepositoryImpl.ts
+++ b/src/background/completion/impl/TabRepositoryImpl.ts
@@ -30,10 +30,10 @@ export default class TabRepositoryImpl implements TabRepository {
private static toEntity(tab: browser.tabs.Tab): Tab {
return {
- id: tab.id!!,
- url: tab.url!!,
+ id: tab.id!,
+ url: tab.url!,
active: tab.active,
- title: tab.title!!,
+ title: tab.title!,
faviconUrl: tab.favIconUrl,
index: tab.index,
};