-
Notifications
You must be signed in to change notification settings - Fork 143
fix: Fixed type error. #1043
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Fixed type error. #1043
Conversation
|
can you run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! 커멘트 드린 부분만 수정해주시면 될것같습니다!
|
|
||
| useLayoutEffect(() => { | ||
| const timeouts = []; | ||
| const timeouts: NodeJS.Timeout[] = []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ReturnType<typeof setTimeout>[]로 수정하면 좋을것 같습니닷!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정 하였습니다
| const [requestString, setRequestString] = useState(''); | ||
| const [debouncingTimer, setDebouncingTimer] = useState(null); | ||
| const [requestString, setRequestString] = useState<string>(''); | ||
| const [debouncingTimer, setDebouncingTimer] = useState<NodeJS.Timeout | null>(null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ReturnType<typeof setTimeout> | null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정 하였습니다.
699d5f1 to
7e4f6e4
Compare
|
run yarn lint:fix 돌려서 확인 하였습니다 |
modules에서 고객사에게 영향이 없을것 같다고 예상되는 에러들 위주로 수정 하였습니다.