build: enable bundle_dts for forms package (#28854)

This PR also changes the name of NgNoValidate` to `ɵNgNoValidate`. This is because `ngcc` requires the node to retain the original name while dts bundler will rename the node is it's only exported using the aliases.

Example typings files:
```ts
declare class NgNoValidate{
}
export {NgNoValidateas ɵNgNoValidate}
```

will be emitted as
```ts
export declare class ɵNgNoValidate {
}
```

PR Close #28854
This commit is contained in:
Alan
2019-02-20 08:10:25 +01:00
committed by Andrew Kushnir
parent 4486dabf01
commit e8bb8f4912
5 changed files with 16 additions and 9 deletions

View File

@ -80,5 +80,7 @@ export const REACTIVE_DRIVEN_DIRECTIVES: Type<any>[] =
declarations: SHARED_FORM_DIRECTIVES,
exports: SHARED_FORM_DIRECTIVES,
})
export class InternalFormsSharedModule {
export class ɵInternalFormsSharedModule {
}
export {ɵInternalFormsSharedModule as InternalFormsSharedModule};