chore: clean up

This commit is contained in:
Paul Makles
2022-04-27 20:18:51 +01:00
parent cd6f45d16a
commit 77a2d10f8e
31 changed files with 61 additions and 49 deletions

View File

@@ -1,6 +1,6 @@
import { action, computed, makeAutoObservable, ObservableMap } from "mobx";
import { API } from "revolt.js";
import { Nullable } from "revolt.js/esm/util/null";
import { Nullable } from "revolt.js";
import { mapToRecord } from "../../lib/conversion";

View File

@@ -1,7 +1,7 @@
import { action, computed, makeAutoObservable, ObservableMap } from "mobx";
import { Channel } from "revolt.js/esm/maps/Channels";
import { Message } from "revolt.js/esm/maps/Messages";
import { Server } from "revolt.js/esm/maps/Servers";
import { Channel } from "revolt.js";
import { Message } from "revolt.js";
import { Server } from "revolt.js";
import { mapToRecord } from "../../lib/conversion";

View File

@@ -1,7 +1,7 @@
import { action, computed, makeAutoObservable } from "mobx";
import { API } from "revolt.js";
import { Client } from "revolt.js";
import { Nullable } from "revolt.js/esm/util/null";
import { Nullable } from "revolt.js";
import { isDebug } from "../../revision";
import Persistent from "../interfaces/Persistent";

View File

@@ -1,3 +1,4 @@
// @ts-expect-error No typings.
import rgba from "color-rgba";
import { makeAutoObservable, computed, action } from "mobx";