Support for Angular 6 + RXJS 6
See original GitHub issueHaving issues using Angular 6. The first being RXJS imports being different, which is able to be avoided by importing the rxjs-compat
package.
The second issue when using ng6 is the following:
ERROR in node_modules/ngx-material-file-input/src/file-input/file-input.component.d.ts(7,22): error TS2720: Class 'FileInputComponent' incorrectly implements class 'MatFormFieldControl<FileInput>'. Did you mean to extend 'MatFormFieldControl<FileInput>' and inherit its members as a subclass?
Property 'shouldLabelFloat' is missing in type 'FileInputComponent'.
Seems a new property was added in MatFormFieldControl
that needs to be implemented within FileInputComponent
.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Angular 6: Upgrading API calls to RxJS 6
Don't panic! There is a library called 'rxjs-compat' which provides shims for backwards compatibility. So your RxJS 5.x API calls and Observable ...
Read more >Angular 6 Upgrade: Migrating to RxJS 6
If you are upgrading your Angular 4|5 project to Angular 6 which makes use of RxJS 6 you may be worried about the...
Read more >Angular 5 to 6 Without Backward Compatible RxJS ...
I'm involved in the rather arduous task of migrating a project from Angular 5.2.11 to 6.0.0, and I'm having some difficulty with RxJS...
Read more >Support Angular 6: Upgrade to RxJS 6 - dbfannin/ngx-logger
@MickL, We have a PR to upgrade the logger angular6. Since it's still in release candidate, we're waiting for the actual 6 release...
Read more >The RxJS library
RxJS provides an implementation of the Observable type, which is needed until the type becomes part of the language and until browsers support...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Migration done! For version with angular 6 -> see 0.2.0
can get it working by manually for now by making the following change before compile.
edit: node_modules/ngx-material-file-input/src/file-input/file-input.component.d.ts
add
shouldLabelFloat: boolean;
so it looks something like like.