Fix imports from weird paths

These imports were breaking in TS error checking and VS Code, because
imports need to have an extension to be valid, apparently
This commit is contained in:
Michcio 2022-09-25 15:45:48 +02:00
parent a91bbed34e
commit dc510c6834
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ import { Note } from '@/models/entities/note.js';
import { Notes } from '@/models/index.js';
import { Packed } from '@/misc/schema.js';
import { IdentifiableError } from '@/misc/identifiable-error.js';
import Connection from '.';
import Connection from './index.js';
/**
* Stream channel

View file

@ -14,7 +14,7 @@ import { AbuseUserReport } from '@/models/entities/abuse-user-report.js';
import { Signin } from '@/models/entities/signin.js';
import { Page } from '@/models/entities/page.js';
import { Packed } from '@/misc/schema.js';
import { Webhook } from '@/models/entities/webhook';
import { Webhook } from '@/models/entities/webhook.js';
//#region Stream type-body definitions
export interface InternalStreamTypes {