Replace tsc broken JS frontend src/types imports with TypeScript.
This commit is contained in:
parent
8ee079fa43
commit
3e7b294277
@ -1,5 +1,5 @@
|
||||
import { ChannelTypes } from '@acrd/types';
|
||||
import { PermissionTypes } from '@acrd/types';
|
||||
import { PermissionTypes } from '@acrd/types/src/permissions.types';
|
||||
import React from 'react';
|
||||
import { useDispatch, useSelector } from 'react-redux';
|
||||
import usePerms from '../../../hooks/use-perms';
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ChannelTypes } from '@acrd/types';
|
||||
import { PermissionTypes } from '@acrd/types';
|
||||
import { PermissionTypes } from '@acrd/types/src/permissions.types';
|
||||
import { useDispatch, useSelector } from 'react-redux';
|
||||
import usePerms from '../../../hooks/use-perms';
|
||||
import { openSaveChanges } from '../../../store/ui';
|
||||
|
@ -5,7 +5,7 @@ import { openSaveChanges } from '../../../store/ui';
|
||||
import NormalButton from '../../utils/buttons/normal-button';
|
||||
import Category from '../../utils/category';
|
||||
import Toggle from '../../inputs/toggle';
|
||||
import { PermissionTypes } from '@acrd/types';
|
||||
import { PermissionTypes } from '@acrd/types/src/permissions.types';
|
||||
|
||||
export interface RolePermissionsProps {
|
||||
setRoleValue: UseFormSetValue<FieldValues>;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Entity } from '@acrd/types';
|
||||
import { PermissionTypes } from '@acrd/types';
|
||||
import { PermissionTypes } from '@acrd/types/src/permissions.types';
|
||||
import { getChannel } from '../store/channels';
|
||||
import { getGuild, getGuildRoles } from '../store/guilds';
|
||||
import { getMember, getSelfMember } from '../store/members';
|
||||
|
Loading…
x
Reference in New Issue
Block a user