refactor: Use path alias
This commit is contained in:
@ -3,8 +3,8 @@
|
||||
*/
|
||||
declare var self: ServiceWorkerGlobalScope;
|
||||
|
||||
import { getNoteSummary } from '../../misc/get-note-summary';
|
||||
import getUserName from '../../misc/get-user-name';
|
||||
import { getNoteSummary } from '@/misc/get-note-summary';
|
||||
import getUserName from '@/misc/get-user-name';
|
||||
|
||||
export default async function(type, data, i18n): Promise<[string, NotificationOptions] | null | undefined> {
|
||||
if (!i18n) {
|
||||
|
@ -5,7 +5,7 @@ declare var self: ServiceWorkerGlobalScope;
|
||||
|
||||
import { get, set } from 'idb-keyval';
|
||||
import composeNotification from '@client/sw/compose-notification';
|
||||
import { I18n } from '../../misc/i18n';
|
||||
import { I18n } from '@/misc/i18n';
|
||||
|
||||
//#region Variables
|
||||
const version = _VERSION_;
|
||||
|
Reference in New Issue
Block a user