Is it somehow possible to have external & internal args type definitions?
I have a component where some properties are mutable exclusive and have a type def for it like:
type Only<T, U> = {
[P in keyof T]: T[P];
} & {
[P in keyof U]?: never;
};
type Either<T, U> = Only<T, U> | Only<U, T>
then Args look like this:
type Args = Either<A,B>. which works fine when component is invoked, but in the components own template it fails to resolve the args, or rather it resolves all to never
Is it somehow possible to have external & internal args type definitions?
I have a component where some properties are mutable exclusive and have a type def for it like:
then Args look like this: type Args = Either<A,B>. which works fine when component is invoked, but in the components own template it fails to resolve the args, or rather it resolves all to
never