Skip to content

Commit 3a0dff5

Browse files
committed
🐛(service-worker) fix circular import problem
When we were installing the service-worker, errors were thrown because of circular imports. This commit fixes the problem by being more explicit about the imports.
1 parent c682bce commit 3a0dff5

File tree

1 file changed

+2
-6
lines changed
  • src/frontend/apps/impress/src/features/service-worker

1 file changed

+2
-6
lines changed

src/frontend/apps/impress/src/features/service-worker/ApiPlugin.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import { WorkboxPlugin } from 'workbox-core';
22

3-
import {
4-
Doc,
5-
DocsResponse,
6-
LinkReach,
7-
Role,
8-
} from '@/features/docs/doc-management';
3+
import { Doc, DocsResponse } from '@/features/docs/doc-management';
4+
import { LinkReach, Role } from '@/features/docs/doc-management/types';
95

106
import { DBRequest, DocsDB } from './DocsDB';
117
import { RequestSerializer } from './RequestSerializer';

0 commit comments

Comments
 (0)