Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Ts error on type annotation #2553

Closed
ImamJanjua opened this issue May 14, 2024 · 3 comments
Closed

Ts error on type annotation #2553

ImamJanjua opened this issue May 14, 2024 · 3 comments

Comments

@ImamJanjua
Copy link

Bildschirmaufnahme.2024-05-14.um.21.32.22.mov
@charkour
Copy link
Collaborator

Hi @ImamJanjua, thanks for the report. Could you provide a written account of what the current behavior is and what the expected behavior is? Thank you

@ImamJanjua
Copy link
Author

@charkour the video shows that there are no errors, till i add the view state which should be either "day" or "week" and the action setView which accepts "day" or "week" and sets the view based on input.

@dbritto-dev
Copy link
Collaborator

dbritto-dev commented May 14, 2024

@ImamJanjua you action types are wrong, there's no setView, and should you type your initial state too

@dbritto-dev dbritto-dev reopened this May 14, 2024
@pmndrs pmndrs locked and limited conversation to collaborators May 14, 2024
@dbritto-dev dbritto-dev converted this issue into discussion #2554 May 14, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants