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

冗長な型宣言を修正したい #6

Closed
0918nobita opened this issue Jun 4, 2022 · 0 comments
Closed

冗長な型宣言を修正したい #6

0918nobita opened this issue Jun 4, 2022 · 0 comments

Comments

@0918nobita
Copy link
Owner

0918nobita commented Jun 4, 2022

type EmptyObj = Record<string, never>;
type AnyObj = Record<string, unknown>;

Component , ComponentElement , ElementProps 型引数は、デフォルトで EmptyObj にする

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

No branches or pull requests

1 participant