Issue 1:
I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

Compiling failt.

Expected behavior

Compiled successfull.

Minimal reproduction of the problem with instructions

Project from: https://github.com/krausest/js-framework-benchmark/tree/master/angular-v2.4.3-keyed

{
"name": "angular2-webpack",
"version": "1.0.0",
"description": "A webpack starter for angular 2",
"scripts": {
"start": "npm run build-dev && npm run serve",
"test": "node_modules/.bin/karma start",
"precompile": "node_modules/.bin/ngc",
"build-prod": "npm run precompile && node rollup.config.js --prod",
"build-dev": "npm run precompile && node rollup.config.js",
"postinstall": "typings install"
},
"license": "MIT",
"dependencies": {
"@angular/common": "~4.0.0-rc",
"@angular/compiler": "~4.0.0-rc",
"@angular/compiler-cli": "~4.0.0-rc",
"@angular/core": "~4.0.0-rc",
"@angular/platform-browser": "~4.0.0-rc",
"@angular/platform-browser-dynamic": "~4.0.0-rc",
"@angular/platform-server": "~4.0.0-rc",
"core-js": "2.4.1",
"rxjs": "5.2.0",
"zone.js": "0.7.7"
},
"devDependencies": {
"google-closure-compiler-js": "20170124.0.0",
"http-server": "0.9.0",
"rollup": "0.41.4",
"rollup-plugin-commonjs": "7.0.0",
"rollup-plugin-node-resolve": "2.0.0",
"typescript": "2.2.1",
"typings": "2.1.0",
"yargs": "6.6.0"
}
}

{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"es2015",
"dom"
],
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true
}
}

Shell: node_modules/.bin/ngc

Output:

λ node_modules\.bin\ngc.cmd
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/typescript/lib/lib.es2015.core.d.ts:21:14: Duplicate identifier 'PropertyKey'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:3:14: Duplicate identifier 'PropertyKey'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:67:5: All declarations of 'name' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:127:5: Subsequent variable declarations must have the same type. Variable '[Symbol.unscopables]' must be of type '{ copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: ...', but here has type 'any'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:244:5: All declarations of 'flags' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:258:5: All declarations of 'EPSILON' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:293:5: All declarations of 'MAX_SAFE_INTEGER' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:300:5: All declarations of 'MIN_SAFE_INTEGER' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:439:5: Subsequent variable declarations must have the same type. Variable '[Symbol.toStringTag]' must be of type '"Symbol"', but here has type 'string'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:439:5: All declarations of '[Symbol.toStringTag]' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:446:5: All declarations of 'prototype' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:474:5: All declarations of 'hasInstance' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:480:5: All declarations of 'isConcatSpreadable' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:486:5: All declarations of 'iterator' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:492:5: All declarations of 'match' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:498:5: All declarations of 'replace' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:504:5: All declarations of 'search' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:510:5: All declarations of 'species' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:516:5: All declarations of 'split' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:522:5: All declarations of 'toPrimitive' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:528:5: All declarations of 'toStringTag' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:534:5: All declarations of 'unscopables' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:591:5: Subsequent variable declarations must have the same type. Variable '[Symbol.toStringTag]' must be of type '"Math"', but here has type 'string'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:591:5: All declarations of '[Symbol.toStringTag]' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:595:5: Subsequent variable declarations must have the same type. Variable '[Symbol.toStringTag]' must be of type '"JSON"', but here has type 'string'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:595:5: All declarations of '[Symbol.toStringTag]' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:610:5: All declarations of 'size' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:616:5: All declarations of 'prototype' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:627:5: All declarations of 'size' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:633:5: All declarations of 'prototype' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:638:11: All declarations of 'WeakMap' must have identical type parameters.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:646:27: Type 'K' does not satisfy the constraint 'object'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:647:53: Type 'K' does not satisfy the constraint 'object'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:648:5: All declarations of 'prototype' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:662:5: All declarations of 'prototype' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:674:5: All declarations of 'value' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/core-js/index.d.ts:786:5: All declarations of 'prototype' must have identical modifiers.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:78:6: Duplicate identifier 'BufferEncoding'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:512:9: 'BuffType' is referenced directly or indirectly in its own type annotation.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:513:9: 'SlowBuffType' is referenced directly or indirectly in its own type annotation.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:514:26: Duplicate identifier 'Buffer'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:514:50: Duplicate identifier 'SlowBuffer'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:576:22: Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'.
Named property 'addListener' of types 'EventEmitter' and 'Server' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:576:22: Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'.
Named property 'emit' of types 'EventEmitter' and 'Server' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:576:22: Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'.
Named property 'on' of types 'EventEmitter' and 'Server' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:576:22: Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'.
Named property 'once' of types 'EventEmitter' and 'Server' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:576:22: Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'.
Named property 'prependListener' of types 'EventEmitter' and 'Server' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:576:22: Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'.
Named property 'prependOnceListener' of types 'EventEmitter' and 'Server' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:576:22: Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'.
Named property 'removeListener' of types 'EventEmitter' and 'Server' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:587:22: Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'addListener' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:587:22: Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'emit' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:587:22: Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'on' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:587:22: Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'once' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:587:22: Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'prependListener' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:587:22: Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'prependOnceListener' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:587:22: Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'removeListener' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:617:22: Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'addListener' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:617:22: Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'emit' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:617:22: Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'on' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:617:22: Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'once' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:617:22: Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'prependListener' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:617:22: Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'prependOnceListener' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:617:22: Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'.
Named property 'removeListener' of types 'EventEmitter' and 'Writable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:643:22: Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'.
Named property 'addListener' of types 'EventEmitter' and 'Readable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:643:22: Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'.
Named property 'emit' of types 'EventEmitter' and 'Readable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:643:22: Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'.
Named property 'on' of types 'EventEmitter' and 'Readable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:643:22: Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'.
Named property 'once' of types 'EventEmitter' and 'Readable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:643:22: Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'.
Named property 'prependListener' of types 'EventEmitter' and 'Readable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:643:22: Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'.
Named property 'prependOnceListener' of types 'EventEmitter' and 'Readable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:643:22: Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'.
Named property 'removeListener' of types 'EventEmitter' and 'Readable' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:694:18: Duplicate identifier 'Agent'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:739:18: Duplicate identifier 'Worker'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:1000:22: Duplicate identifier 'CompleterResult'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:1040:18: Duplicate identifier 'Script'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:1319:22: Interface 'Server' cannot simultaneously extend types 'Socket' and 'EventEmitter'.
Named property 'removeListener' of types 'Socket' and 'EventEmitter' are not identical.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:1882:18: Duplicate identifier 'TLSSocket'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:2184:18: Class 'Readable' incorrectly implements interface 'ReadableStream'.
Types of property 'pause' are incompatible.
Type '() => Readable' is not assignable to type '{ (): ReadableStream; (): ReadableStream; }'.
Type 'Readable' is not assignable to type 'ReadableStream'.
Property 'isPaused' is missing in type 'Readable'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:2225:18: Class 'Duplex' incorrectly implements interface 'ReadWriteStream'.
Types of property 'pause' are incompatible.
Type '() => Duplex' is not assignable to type '{ (): ReadWriteStream; (): ReadWriteStream; }'.
Type 'Duplex' is not assignable to type 'ReadWriteStream'.
Property 'isPaused' is missing in type 'Duplex'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:2246:18: Class 'Transform' incorrectly implements interface 'ReadWriteStream'.
Types of property 'pause' are incompatible.
Type '() => Transform' is not assignable to type '{ (): ReadWriteStream; (): ReadWriteStream; }'.
Type 'Transform' is not assignable to type 'ReadWriteStream'.
Property 'isPaused' is missing in type 'Transform'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:2339:5: Duplicate identifier 'export='.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:2361:18: Duplicate identifier 'Domain'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/typings/globals/node/index.d.ts:2621:5: Duplicate identifier 'export='.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:70:5: Subsequent variable declarations must have the same type. Variable 'main' must be of type 'any', but here has type 'NodeModule'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:81:5: Subsequent variable declarations must have the same type. Variable 'parent' must be of type 'any', but here has type 'NodeModule'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:82:5: Subsequent variable declarations must have the same type. Variable 'children' must be of type 'any[]', but here has type 'NodeModule[]'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:102:6: Duplicate identifier 'BufferEncoding'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:411:9: Subsequent variable declarations must have the same type. Variable 'platform' must be of type 'string', but here has type 'Platform'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:569:26: Duplicate identifier 'Buffer'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:569:50: Duplicate identifier 'SlowBuffer'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:613:5: An export assignment cannot be used in a module with other exported elements.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:758:18: Duplicate identifier 'Agent'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:813:9: Subsequent variable declarations must have the same type. Variable 'addressType' must be of type 'string', but here has type 'number | "udp4" | "udp6"'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:816:18: Duplicate identifier 'Worker'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:1499:17: Duplicate identifier 'CompleterResult'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:1536:18: Duplicate identifier 'Script'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:2832:18: Duplicate identifier 'TLSSocket'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3029:9: Subsequent variable declarations must have the same type. Variable 'pfx' must be of type 'any', but here has type 'string | Buffer[]'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3030:9: Subsequent variable declarations must have the same type. Variable 'key' must be of type 'any', but here has type 'string | any[] | string[] | Buffer'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3032:9: Subsequent variable declarations must have the same type. Variable 'cert' must be of type 'any', but here has type 'string | string[] | Buffer | Buffer[]'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3033:9: Subsequent variable declarations must have the same type. Variable 'ca' must be of type 'any', but here has type 'string | string[] | Buffer | Buffer[]'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3034:9: Subsequent variable declarations must have the same type. Variable 'crl' must be of type 'any', but here has type 'string | string[]'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3036:9: Subsequent variable declarations must have the same type. Variable 'honorCipherOrder' must be of type 'any', but here has type 'boolean'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3039:9: Subsequent variable declarations must have the same type. Variable 'NPNProtocols' must be of type 'any', but here has type 'string[] | Buffer'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3056:9: Subsequent variable declarations must have the same type. Variable 'key' must be of type 'string | Buffer', but here has type 'string | string[] | Buffer | Buffer[]'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3058:9: Subsequent variable declarations must have the same type. Variable 'cert' must be of type 'string | Buffer', but here has type 'string | string[] | Buffer | Buffer[]'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3059:9: Subsequent variable declarations must have the same type. Variable 'ca' must be of type '(string | Buffer)[]', but here has type 'string | Buffer | (string | Buffer)[]'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3298:9: Subsequent variable declarations must have the same type. Variable 'padding' must be of type 'any', but here has type 'number'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3303:9: Subsequent variable declarations must have the same type. Variable 'padding' must be of type 'any', but here has type 'number'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3563:5: An export assignment cannot be used in a module with other exported elements.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3646:5: Duplicate identifier 'export='.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3668:18: Duplicate identifier 'Domain'.
Error at ~/js-framework-benchmark/angular-v4.0.0-rc-keyed/node_modules/@types/node/index.d.ts:3960:5: Duplicate identifier 'export='.

What is the motivation / use case for changing the behavior?

us AOT precompiling | rollup

Please tell us about your environment:

Windows 10 64bit

Angular version: 4.0.0-rc.2

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: [all | TypeScript X.X | ES6/7 | ES5]

TypeScript 2.2.1

Node (for AoT issues): node --version = v6.9.2

Issue 2:
Most angular core directives start with the "ng" prefix to avoid name collision.

What about renaming "form" to "ngForm" for the same reason.

/cc @vsavkin