MetaMask / snaps

Extend the functionality of MetaMask using Snaps
https://metamask.io/snaps/
Other
723 stars 557 forks source link

fix: correct JSX runtime path in tsconfig #2452

Closed FrederikBolding closed 4 months ago

FrederikBolding commented 4 months ago

Modifies TS paths to point more directly to the JSX runtime. This prevents problems where TS would incorrectly use an import of /jsx-runtime.

    children: import("@metamask/snaps-sdk/jsx-runtime").MaybeArray<import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
        value: string;
        children: string;
    }, "Option">>;