diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-08-11 21:40:23 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-08-11 21:40:23 +0900 |
commit | 0b98a22eba4f7bbac215abd800293ac2be67b24d (patch) | |
tree | ae78b7edc460a79708742bff55c4c6fa55699e47 /src/background/completion/impl/TabRepositoryImpl.ts | |
parent | f497109ecc801660dc23bbad8445b120cd75561e (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.ts | 6 |
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, }; |