Skip to content
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

[CLNP-2908] Typescript error fix for hooks #1054

Merged
merged 65 commits into from
May 9, 2024
Merged

Conversation

chrisallo
Copy link
Collaborator

@chrisallo chrisallo commented Apr 15, 2024

Fixes: CLNP-2908

chrisallo and others added 7 commits March 5, 2024 23:01
Fixed type errors when 'strictNullChecks' is 'true'.
Fixed type errors when 'strictNullChecks' is 'true'.
Fixed type errors when 'strictNullChecks' is 'true'.

슬랙으로 공유드린 내용 제외하고, 수정해도 특별히 문제 없을 만한 부분 우선 수정하였습니다.
프로젝트 전체 strictNullChecks 는 true로 두고
strictNullChecks 관련 에러가 수정되지 않은 아래 폴더는 strictNullChecks 하지 않도록 구성 하였습니다.
src/modules
src/lib
src/hooks
modules에서 고객사에게 영향이 없을것 같다고 예상되는 에러들 위주로 수정 하였습니다.
@chrisallo chrisallo self-assigned this Apr 15, 2024
package.json Outdated Show resolved Hide resolved
@chrisallo chrisallo requested a review from bang9 April 30, 2024 03:19
@chrisallo chrisallo changed the base branch from feat/v3/CLNP-2496-strict-typescript to main May 2, 2024 04:44
Copy link

netlify bot commented May 2, 2024

Deploy Preview for sendbird-uikit-react ready!

Name Link
🔨 Latest commit a77bcdb
🔍 Latest deploy log https://app.netlify.com/sites/sendbird-uikit-react/deploys/663d17936c802300089d2ed1
😎 Deploy Preview https://deploy-preview-1054--sendbird-uikit-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

audioFileUrl = '',
}: UseVoicePlayerProps): UseVoicePlayerContext => {
const [groupKey] = useState<string>(generateGroupKey(channelUrl, key));
const groupKey = generateGroupKey(channelUrl, key);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: state 로 관리하면 url,key 업데이트를 해주는 로직이 필요, 일반 string 사용하도록 수정

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@chrisallo chrisallo merged commit 9979c4c into main May 9, 2024
8 checks passed
@chrisallo chrisallo deleted the feat/clnp-2908-ts-fix-hooks branch May 9, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants