question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to declare and use with ionic 3 pages

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:17 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
NetanelBasalcommented, Apr 4, 2020

Thanks, closing this issue.

1reaction
arturovtcommented, Mar 31, 2020

Gentlemen, it’s been 2 months and seems like no one hasn’t provided any minimal reproducible example. 😦

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found