-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type acquisition incomplete for Material-UI #248
Comments
The current version isn't really being maintained at this point, should hopefully be replaced by the end of the month - v2 version is https://github.com/microsoft/TypeScript-Website/blob/v2/packages/sandbox/src/typeAcquisition.ts which isn't well tested but at least is documented internally |
Nope, it relies on a bunch of infra provided by the site to run and hasn't really been worth the time to make a full test suite for me as it rarely changes |
No longer reproduces. Probably fixed. Thanks! |
Yeah, ATA got a re-write with a new algorithm and that probably fixed it up |
Path imports still don't work though (#206). But considering MUI works now, it might be a lot easier to get path imports to work. |
Repro: importing from
@material-ui/core
The full props of the component are not available. Only
key
is shown in the autocomplete (which originates from the JSX typings as far as I know). Wrong types for props are not flagged as errors.Console contains many error messages similar to
main-3.js:128 Could not get root d.ts file for the module '@material-ui/core' at ./Drawer.d.ts - will not try again in this session 404 Response
.We have a base
index.d.ts
that re-exports from other declarations file e.g.export { default as Drawer } from './Drawer'
whereDrawer/index.d.ts
containsexport { default } from './Drawer.dts'
.folder structure
On which branch could I work to resolve this issue i.e. is the current version still maintained or all work being done on the v2 branch?
The text was updated successfully, but these errors were encountered: