Closed mhevery closed 8 years ago
Now:
export const FOO: Array<any /*Type | Provider | any[]*/> = CONST_EXPR([ new Provider(ServiceMessageBrokerFactory, {useClass: ServiceMessageBrokerFactory_}), ]);
Want:
export const FOO: Array<any /*Type | Provider | any[]*/> = CONST_EXPR([ /* @ts2dart_provide */ {provide: ServiceMessageBrokerFactory, useClass: ServiceMessageBrokerFactory_}, ]);
dart:
const FOO = const [ const Provider(useClass: ServiceMessageBrokerFactory_), ];
Discussed offline, this is not needed.
Now:
Want:
dart: