chore: fix import position

This commit is contained in:
syuilo 2022-12-04 17:05:32 +09:00
parent bbb49457f9
commit 9ce13d487b
16 changed files with 29 additions and 16 deletions

View file

@ -6,6 +6,7 @@ import type { Packed } from '@/misc/schema';
import { getNoteSummary } from '@/misc/get-note-summary.js';
import type { SwSubscriptionsRepository } from '@/models/index.js';
import { MetaService } from '@/core/MetaService.js';
import { bindThis } from '@/decorators.js';
// Defined also packages/sw/types.ts#L14-L21
type pushNotificationsTypes = {
@ -37,7 +38,6 @@ function truncateNotification(notification: Packed<'Notification'>): any {
return notification;
}
import { bindThis } from '@/decorators.js';
@Injectable()
export class PushNotificationService {