Open alexraginskiy opened 5 years ago
try configuring your Documentalist to include tslib
's definition files.
@giladgray I don't think that's relevant, tslib
defines runtime helpers: https://unpkg.com/tslib@1.10.0/tslib.d.ts
@alexraginskiy can you elaborate exactly what kind of support you're looking for? what is the current vs. expected behavior?
I am also running into this issue and wondering if there is just some configuration I am missing. Take the following:
export interface ContactCardActionProps extends Omit<ButtonProps, "appearance"> {
children: React.ReactNode;
}
ButtonProps is an interface with ~20 properties, one of which is appearance
. I want ContactCardActionProps to stay coupled with ButtonProps but this is the output that Documentalist produces for ContactCardActionProps:
Notice "any" in the "extends" property. Is there a way around this?
Thanks!
Hey all,
Any plans on supporting Utility Types such as
Partial<Foo>
orOmit<Foo, 'bar'>
? Is there a trick I'm missing? Thanks!