refactor: centralize types (#235)

* Centralize types and structures

* Resolve Conflict

* Update cache.ts
This commit is contained in:
ITOH
2020-12-08 19:23:36 +01:00
committed by GitHub
parent bc73aeb632
commit 7bdbcb76d6
33 changed files with 133 additions and 105 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
import { Unpromise } from "../types/misc.ts";
import { RoleData } from "../types/role.ts";
import { RoleData, Unpromise } from "../types/types.ts";
export async function createRole(data: RoleData) {
const { tags, ...rest } = data;