Useful or not, from you.
components '@angular/material/index.d.ts' is not a module

🐞 bug report

Affected Package

<!-- Can you pin-point one or more @angular/* packages as the source of the bug? --> <!-- ✍️edit: --> The issue is caused by package @angular/material

Is this a regression?

<!-- Did this behavior use to work in the previous version? --> <!-- ✍️--> Yes, it was previously working.


<!-- ✍️--> When installing @angular/material@next the main definition files is empty and TypeScript complains that @angular/material is not a module. node_modules/@angular/material/index.d.ts does not contain any code part from a comment.

🔬 Minimal Reproduction

<!-- Please create and share minimal reproduction of the issue starting with this template: --> <!-- ✍️--> Install and run according to the

🔥 Exception or Error

ERROR in packages\web-app-angular\node_modules\web-lib-angular\src\material-design.module.ts(33,8): 
 error TS2306: File 'C:/Users/me/repo/monorepo-repro/node_modules/@angular/material/index.d.ts' is not a module.
 error TS2306: File 'C:/Users/me/repo/monorepo-repro/node_modules/@angular/material/index.d.ts' is not a module.

🌍 Your Environment

Angular Version: <pre><code> <!-- run ng version and paste output below --> Angular CLI: 9.0.0-next.15 Node: 10.16.3 OS: win32 x64 Angular: 9.0.0-next.13 ... animations, common, compiler, compiler-cli, core, forms ... platform-browser, platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.900.0-next.15 @angular-devkit/build-optimizer 0.900.0-next.15 @angular-devkit/core 9.0.0-next.15 (cli-only) @angular-devkit/schematics 9.0.0-next.15 @angular/cdk 9.0.0-next.0 @angular/cli 9.0.0-next.15 @angular/http 8.0.0-beta.10 @angular/material 9.0.0-next.0 @ngtools/webpack 9.0.0-next.15 @schematics/angular 9.0.0-next.15 @schematics/update 0.900.0-next.15 rxjs 6.5.3 typescript 3.5.3 </code></pre>

That's a useful answer
Without any help

From changelog:


Breaking changes:

Components can no longer be imported through "@angular/material". Use the individual secondary entry-points, such as @angular/material/button.