type Nullable<T> = T | null | undefined
export declare interface WelcomeProps extends Props {
name: string;
}
export declare const Welcome: FC<WelcomeProps>;
export as namespace hybrid_app;
but
Props
and
FC
are unknown types (i.e.:
TS2304: Cannot find name 'Props'.
) and I think that this is the reason why autocomplete in IntelliJ idea does not work when using Welcome component from a standard JS project. Can someone help to solve this?