- clone this repository
yarn
yarn start
import()
types use package identifiers.
import()
types use relative paths that are unusable if the packages are published.
Example (removed lines is actual code, added lines is expected code):
packages/lab/dist/ArrowLeft.d.ts
import * as React from "react";
-declare const _default: React.JSXElementConstructor<import("../../core/src/SvgIcon").SvgIconProps>;
+declare const _default: React.JSXElementConstructor<import("@material-ui/core/SvgIcon").SvgIconProps>;
export default _default;
//# sourceMappingURL=ArrowLeft.d.ts.map
Originally reported in mui/material-ui#24112.