We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ngc
NodeJS Version: v8.12.0 Typescript Version: 3.1.6 Angular Version: 7.2.7 @angular-redux/store version: 9.0.0 @angular/cli version: (if applicable) 7.2.4 OS: windows 7
I have tsconfig with the following settings
{ ... "compilerOptions": { ... "strictNullChecks": true, "strictPropertyInitialization": true, ... } ... }
these are very useful settings, but they don't work with @select() decorator. For example:
@Component({ selector: "app-root", templateUrl: "app.component.html" }) export class AppComponent { @select() private entities$: Observable<IReduxEntities>; }
This code causes error: Property 'entities$' has no initializer and is not definitely assigned in the constructor.
Property 'entities$' has no initializer and is not definitely assigned in the constructor.
I know that I can use ngRedux.select(['entities']); instead of @select decorator. But it would be great if @select() decorator worked with my tsconfig
ngRedux.select(['entities']);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is a...
What toolchain are you using for transpilation/bundling?
ngc
Environment
NodeJS Version: v8.12.0
Typescript Version: 3.1.6
Angular Version: 7.2.7
@angular-redux/store version: 9.0.0
@angular/cli version: (if applicable) 7.2.4
OS: windows 7
I have tsconfig with the following settings
these are very useful settings, but they don't work with @select() decorator.
For example:
This code causes error:
Property 'entities$' has no initializer and is not definitely assigned in the constructor.
I know that I can use
ngRedux.select(['entities']);
instead of @select decorator. But it would be great if @select() decorator worked with my tsconfigThe text was updated successfully, but these errors were encountered: