🐛(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.
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
import { WorkboxPlugin } from 'workbox-core';
|
||||
|
||||
import {
|
||||
Doc,
|
||||
DocsResponse,
|
||||
LinkReach,
|
||||
Role,
|
||||
} from '@/features/docs/doc-management';
|
||||
import { Doc, DocsResponse } from '@/features/docs/doc-management';
|
||||
import { LinkReach, Role } from '@/features/docs/doc-management/types';
|
||||
|
||||
import { DBRequest, DocsDB } from './DocsDB';
|
||||
import { RequestSerializer } from './RequestSerializer';
|
||||
|
||||
Reference in New Issue
Block a user