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

matching types better #3

Open
acidjazz opened this issue Jan 29, 2022 · 1 comment
Open

matching types better #3

acidjazz opened this issue Jan 29, 2022 · 1 comment

Comments

@acidjazz
Copy link
Member

See if we give props something like UnwrapRef<>

Type UnwrapRef<PushButtonTheme> is not assignable to type InferPropType<PropType<PushButtonTheme>>
@tcampbPPU
Copy link
Member

Its this coming from the props section of a component with PropType or when assigning a ref to a component value like

const modalBaseRef = ref<InstanceType<typeof ModalBase>|null>(null)

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

2 participants