This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
Type defined in another file #52
Comments
I can verify that any type declared in a different file shows up as |
I can verify this is also happening to me |
@affanshahid I don't know if it's related, but with this: type Type = 'default' | 'action' | 'destroy'
export interface ButtonProps {
label?: string
type?: Type
} |
this is different @affanshahid I think but I would like this as well! I have union types defined that I use in multiple places,
and I just see |
Setting |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
So I am importing a type from another file and using that as a type in one of my prop declarations:
I get the following:
Notice the
any[]
. Am I doing something wrong?The text was updated successfully, but these errors were encountered: