Fails to compile in ngc #300

Open
opened 2016-07-12 07:49:09 +00:00 by ghostofcain · 0 comments
ghostofcain commented 2016-07-12 07:49:09 +00:00 (Migrated from github.com)

Hi,

I raised this issue with the angular team but according to them, this is working as extended in the ngc compiler:

https://github.com/angular/angular/issues/9971

The problem is that the directive is defined as

export declare const FILE_UPLOAD_DIRECTIVES: [any];

Which is not compatible with static analysis. Would it be possible to change the directive so that it's compatible with ngc?

Many thanks,

Hi, I raised this issue with the angular team but according to them, this is working as extended in the ngc compiler: https://github.com/angular/angular/issues/9971 The problem is that the directive is defined as ``` export declare const FILE_UPLOAD_DIRECTIVES: [any]; ``` Which is not compatible with static analysis. Would it be possible to change the directive so that it's compatible with ngc? Many thanks,
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#300