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

@ -10,6 +10,7 @@ ng_module(
"src/**/*.ts",
],
),
bundle_dts = True,
deps = [
"//packages/core",
"//packages/platform-browser",