after updating my project to RC6
following errors occurs:
Error: Typescript found the following errors:
app.component.ts (12, 3): Argument of
For Angular 2 final version 2.0.0.0
the pipe should be declared in declaration section of app.module.ts file
import {KeysPipe} from './keys.pipe';
@NgModule({
imports: [ BrowserModule, FormsModule, HttpModule ],
declarations: [ AppComponent, LoginComponent,ArticleComponent,**KeysPipe** ],
bootstrap: [ AppComponent, LoginComponent,ArticleComponent ],
})
just observe keyspipe implementation in above code snippets.