mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
chore: Enforce type import consistency (#10968)
* Update types * fix circular dep * type imports * lint type imports and --fix
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import { Context, Next } from "koa";
|
||||
import type { Context, Next } from "koa";
|
||||
import Router from "koa-router";
|
||||
import { randomString } from "@shared/random";
|
||||
import userInviter, { Invite } from "@server/commands/userInviter";
|
||||
import type { Invite } from "@server/commands/userInviter";
|
||||
import userInviter from "@server/commands/userInviter";
|
||||
import env from "@server/env";
|
||||
import Logger from "@server/logging/Logger";
|
||||
import auth from "@server/middlewares/authentication";
|
||||
import validate from "@server/middlewares/validate";
|
||||
import { presentUser } from "@server/presenters";
|
||||
import { APIContext } from "@server/types";
|
||||
import type { APIContext } from "@server/types";
|
||||
import * as T from "./schema";
|
||||
|
||||
const router = new Router();
|
||||
|
||||
Reference in New Issue
Block a user