You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using TermSelector in TypeScript, TypeScript wants all parameters to be provided, even though there are default props.
We should rewrite the TermSelector in TypeScript and get rid of the props. Optional params can be specified in TypeScript types with ? and everything should work fine.
Steps To Reproduce
In TypeScript, add a
Only provide the parameters that are required/don't have default values.
The linter will show an error.
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Description of the bug
When using TermSelector in TypeScript, TypeScript wants all parameters to be provided, even though there are default props.
We should rewrite the TermSelector in TypeScript and get rid of the props. Optional params can be specified in TypeScript types with
?
and everything should work fine.Steps To Reproduce
In TypeScript, add a
Only provide the parameters that are required/don't have default values.
The linter will show an error.
Additional Information
No response
The text was updated successfully, but these errors were encountered: