Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 911c8e6

Browse files
committed
Missing only sw for strict type checking 🚀
1 parent b5cafdf commit 911c8e6

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

_data/webpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
hash: 4e931446014858453336
1+
hash: 05bd284ec056164c6a1a

_ts/blog/disqus.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ const onIntersection = (entries: IntersectionObserverEntry[], observer: Intersec
2525
const disqus = (): void => {
2626
// eslint-disable-next-line @typescript-eslint/camelcase
2727
window.disqus_config = (): void => {
28+
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
29+
// @ts-ignore: disqus config
2830
this.page.url = window.location.href
31+
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
32+
// @ts-ignore: disqus config
2933
this.page.identifier = window.location.href
3034
}
3135
const intersectionObserver: IntersectionObserver = new IntersectionObserver(

_ts/sw.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ clientsClaim()
2828
precacheAndRoute(self.__WB_MANIFEST)
2929
googleAnalytics.initialize()
3030

31+
//https://stackoverflow.com/questions/56356655/structuring-a-typescript-project-with-workers
32+
3133
self.addEventListener('install', (event: ExtendableEvent) => {
3234
const offlineUrls = [
3335
OFFLINE_PAGE_URL,

0 commit comments

Comments
 (0)