How to declare and use with ionic 3 pages
See original GitHub issueI installed the package in my project with
"npm install @ngneat/until-destroy"
I declared in my page
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
@UntilDestroy()
export class myClass {
...
constructor(pServer: Servers) {
this.pServers.getServers().pipe(untilDestroyed(this)).subscribe((servers) => {
...
And then when I build I get these errors
Typescript Error
'=' expected.
node_modules/@ngneat/until-destroy/lib/internals.d.ts
export declare const DESTROY: unique symbol;
export declare function markAsDecorated(providerOrDef: InjectableType<unknown> | DirectiveDef<unknown> | ComponentDef<unknown>): void;
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:17 (2 by maintainers)
Top Results From Across the Web
Ionic Generate: Create Pages, Components, & Angular Features
Automatically create framework features with Ionic Generate. This command uses the Angular CLI to generate features such as pages , components , directives ......
Read more >Using Custom Components on Multiple Pages in Ionic
In this tutorial, we take a look at some common pitfalls when using custom components and how you can use custom components across...
Read more >Ionic 3 feature module with multiple pages - Stack Overflow
If you use the CLI, ionic generate page command will do the job for you and create a folder with 4 files whenever...
Read more >Ionic 3 New Pages Lazy Loading - JavascriptTuts
Every time we create a Page, we need to add it there in the app.module.ts. Same for the Main Component: import { TabsPage...
Read more >Lazy loading with Ionic 3 - Mastering Ionic
Updated to use Angular 4; Compatibility with TypeScript 2.1 and 2.2; Ability to lazy load page components and pipes; Use of Semver versioning...
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 Free
Top 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
Thanks, closing this issue.
Gentlemen, it’s been 2 months and seems like no one hasn’t provided any minimal reproducible example. 😦