Ionic v4 - Error ‘typeof Input’ is not callable

if I use @Input " @Input() test; " an error is displayed:

[ts] Value of type ‘typeof Input’ is not callable. Did you mean to include ‘new’? [2348]

I’m using:

  • @ionic/angular": “4.0.0-beta.15”,
  • typescript": “~2.9.2”

Thanks, Vinicius

Hi

can you show your code?

From whence do you import Input?

Don’t import Input from Ionic (import { Input } from '@ionic/angular';) but from Angular (import { Input} from '@angular/core';) :grin: