Bug or Features? @Page/App directives

If I add a directive to @Page or @App, I get an error message.

  templateUrl: 'page.html',
  directives: [MyDirective]

... not assignable to parameter type PageMetadata

in the PageMetadata

directives?: Array<Type | any[]>;

SO right code must be:

directives: [[MyDirective]]

or we need move any[] type to any :slight_smile:

directives?: Array<Type | any>;

PS: pipes has this issue too

Maybe I must do “extends Type” to my directive?