Skip to content

Commit

Permalink
fix: remove the static property to make the prod build happy
Browse files Browse the repository at this point in the history
The static `ngxVarUseIfTypeGuard` is not considered by ivy anyways as per - angular/angular#33943
  • Loading branch information
anirudhvarma12 committed Mar 17, 2021
1 parent 125e4cf commit bb3ed42
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions projects/ngx-var/src/lib/ngx-var.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ export class NgxVarDirective<T = unknown> implements OnInit {
this._vcr.createEmbeddedView(this._templateRef, this._context);
}

/** @internal */
public static ngxVarUseIfTypeGuard: void;

/**
* Assert the correct type of the expression bound to the `ngxVar` input within the template.
*
Expand Down

0 comments on commit bb3ed42

Please sign in to comment.