dart-archive / ts2dart

ts2dart TypeScript to Dart transpiler
Apache License 2.0
181 stars 62 forks source link

add @ts2dart_const to constructor #369

Open mhevery opened 8 years ago

mhevery commented 8 years ago
export class DefaultIterableDifferFactory implements IterableDifferFactory {
  /* @ts2dart_const */
  constructor() {}
}

should produce:

class DefaultIterableDifferFactory implements IterableDifferFactory {
  const DefaultIterableDifferFactory();
}