You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search Terms:
Relative Path
Packages starting with @
Code
The following code defines a React component called MiniRadio. It is using several imports from Material-UI. The package name for Material-UI starts with the @ character:
Expected behavior:
With TypeScript version 2.8.3, the above code generates the following type definition, Notice the clean declaration for MiniRadio in the last line.
Actual behavior:
With TypeScript version 2.9.2, the exact same code generates the following type definition. Notice the long relative pathname for @material-ui/core in the last line:
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
TypeScript Version: 2.9.2
Search Terms:
Relative Path
Packages starting with
@
Code
The following code defines a React component called
MiniRadio
. It is using several imports from Material-UI. The package name for Material-UI starts with the@
character:Expected behavior:
With TypeScript version 2.8.3, the above code generates the following type definition, Notice the clean declaration for
MiniRadio
in the last line.Actual behavior:
With TypeScript version 2.9.2, the exact same code generates the following type definition. Notice the long relative pathname for
@material-ui/core
in the last line:tsconfig.json:
The text was updated successfully, but these errors were encountered: