Where to define pipes in .ts file ? RC0

previously we used to define pipes in @Component but in RC0 its showing error.
any suggestions?

The declarations array of the app module. See the changelog.