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

avoid noImplicitAny #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

hirotoKirimaru
Copy link

I have configured the TypeScript compiler with strict options. However, I am encountering an issue where I'm unable to utilize zoom/videosdk version 1.10.0 due to these settings.

Therefore, I suggest that we explicitly set the return type for our functions to resolve this issue.

Error: node_modules/@zoom/videosdk/dist/types/event-callback.d.ts:1737:25 - error TS7010: 'event_subsession_invite_to_back_to_main_session', which lacks return-type annotation, implicitly has an 'any' return type.

1737 export declare function event_subsession_invite_to_back_to_main_session(payload: {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/@zoom/videosdk/dist/types/event-callback.d.ts:1756:25 - error TS7010: 'event_subsession_user_update', which lacks return-type annotation, implicitly has an 'any' return type.

1756 export declare function event_subsession_user_update(payload: {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/@zoom/videosdk/dist/types/event-callback.d.ts:1803:25 - error TS7010: 'event_subsession_broadcast_voice', which lacks return-type annotation, implicitly has an 'any' return type.

1803 export declare function event_subsession_broadcast_voice(payload: {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant