diff --git a/src/structures/role.ts b/src/structures/role.ts index ad7113d94..ee76e0490 100644 --- a/src/structures/role.ts +++ b/src/structures/role.ts @@ -69,7 +69,7 @@ const baseRole: Partial = { export async function createRole(data: RoleData) { const { tags, ...rest } = data; - const restProps = {}; + const restProps: Record = {}; for (const key of Object.keys(rest)) { // @ts-ignore restProps[key] = createNewProp(rest[key]);