Bug ? I guess
No error by Angular-CLI (TS).
it's seems the attribute 'extraClasses' is not available or does not exist anymore ?
error TS2339: Property 'extraClasses' does not exist on type 'MatSnackBarConfig
Try to add extraclasses attribute to 'MatSnackBarConfig
Angular 6.0
Material 6.0
Flex 6.0.0-beta.15
OS: Windows 7 64 bits
TS: 2.7.2
Browser: Chrome
Package-Manager: Yarn 1.6
Node: 8.9.0
Ng-Update: YES
As of 6.0.0 extraClasses was renamed to panelClass as noted in the 6.0.0-beta.5 list of breaking changes:
snack-bar:
extraClasseswhich was deprecated in 5.0.0 has been removed. UsepanelClassinstead.
Oh sorry my bad, anyway thank you
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
As of
6.0.0extraClasseswas renamed topanelClassas noted in the6.0.0-beta.5list of breaking changes: