jsdevtom/take-until-destroy

@Destroyable wont compile

Closed this issue · 0 comments

When I try to build AOT components which have @destroyable decorator wont build throwing an error:

ERROR in Error: Error encountered resolving symbol values statically. Only initialized variables and constants can be referenced because the value of this variable is needed by the template compiler (position 17:22 in the original .ts file), resolving symbol Destroyable in /node_modules/take-until-destroy/dist/destroyable.decorator.d.ts