Skip to content

Commit

Permalink
chore: remove baseUrl from tsconfig, fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
arnautov-anton committed Oct 29, 2024
1 parent be028ef commit 70db932
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/ChatAutoComplete/ChatAutoComplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ import { useComponentContext } from '../../context/ComponentContext';
import type { CommandResponse, UserResponse } from 'stream-chat';

import type { TriggerSettings } from '../MessageInput/DefaultTriggerProvider';

import type { CustomTrigger, DefaultStreamChatGenerics, UnknownType } from '../../types/types';
import { EmojiSearchIndex } from 'components/MessageInput';
import type { EmojiSearchIndex } from '../MessageInput';

type ObjectUnion<T> = T[keyof T];

Expand Down
3 changes: 2 additions & 1 deletion src/components/Threads/hooks/useThreadManagerState.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { useChatContext } from 'context';
import { ThreadManagerState } from 'stream-chat';

import { useChatContext } from '../../../context';
import { useStateStore } from '../../../store';

export const useThreadManagerState = <T extends readonly unknown[]>(
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"baseUrl": "./src",
"lib": ["ES2020", "DOM"],
"target": "ES2020",
"jsx": "react",
Expand Down

0 comments on commit 70db932

Please sign in to comment.