I am using Angular 2.0 Alfa 35. When I am importing FORM_DIRECTIVES (which is a new name for formDirectives on Alfa 35) I am getting a Typescript error:
error TS2305: Module '"angular2/angular2"' has no exported member 'FORM_DIRECTIVES'.
Is it a bug in ts definitions? Can I fix/override it?
As of today for Angular 2 Beta it should be:
import {FORM_DIRECTIVES} from 'angular2/common'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With