<p dir="auto">Typed definition of workbox-sw flashes error because of missing BroadcastChannel declaration:<br>
static broadCastUpdate (channel: BroadcastChannel, cacheName: string, url: string, source: string): void;</p>
<p dir="auto">If you know how to fix the issue, make a pull request instead.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the <code class="notranslate">@types/xxxx</code> package and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>.  (Please ask any appropriate questions there).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wessberg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wessberg">@wessberg</a></li>
</ul>
</li>
</ul>
<p dir="auto">If you do not mention the authors the issue will be ignored.</p>
<p dir="auto">Hi,</p>
<p dir="auto">I have a problem that I think is about @types/node</p>
<p dir="auto">I'm with node version 7.10.1, npm 4.2.0 and my project has on typings.json: "node": "registry:dt/node#7.0.0+20170322231424", and in package.json: "@types/node": "7.0.7"</p>
<p dir="auto">When I tried to build the project this happen:</p>
<p dir="auto"><code class="notranslate">TSError: ⨯ Unable to compile TypeScript typings/globals/node/index.d.ts (40,14): All declarations of 'iterator' must have identical modifiers. (2687) at getOutput (/home/victor/Desktop/workspace/sgt2-v3.x-front/node_modules/ts-node/src/ts-node.ts:210:13) at Object.loader (/home/victor/Desktop/workspace/sgt2-v3.x-front/node_modules/ts-node/src/ts-node.ts:225:23) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Liftoff.handleArguments (/home/victor/Desktop/workspace/sgt2-v3.x-front/node_modules/gulp/bin/gulp.js:116:3) at Liftoff.execute (/home/victor/Desktop/workspace/sgt2-v3.x-front/node_modules/liftoff/index.js:203:12) at module.exports (/home/victor/Desktop/workspace/sgt2-v3.x-front/node_modules/flagged-respawn/index.js:51:3) </code></p>
<p dir="auto">And with @types/node 6.0.45 and typings.json "node": "registry:dt/node#6.0.0+20161121110008"<br>
this happen:</p>
<p dir="auto"><code class="notranslate">node_modules/@types/node/index.d.ts(70,5): error TS2717: Subsequent property declarations must have the same type.  Property 'main' must be of type 'NodeModule', but here has type 'any'. node_modules/@types/node/index.d.ts(81,5): error TS2717: Subsequent property declarations must have the same type.  Property 'parent' must be of type 'NodeModule', but here has type 'any'. node_modules/@types/node/index.d.ts(82,5): error TS2717: Subsequent property declarations must have the same type.  Property 'children' must be of type 'NodeModule[]', but here has type 'any[]'. node_modules/@types/node/index.d.ts(102,6): error TS2300: Duplicate identifier 'BufferEncoding'. node_modules/@types/node/index.d.ts(256,9): error TS2717: Subsequent property declarations must have the same type.  Property 'errno' must be of type 'number', but here has type 'string'. node_modules/@types/node/index.d.ts(263,18): error TS2300: Duplicate identifier 'EventEmitter'. node_modules/@types/node/index.d.ts(549,26): error TS2300: Duplicate identifier 'Buffer'. node_modules/@types/node/index.d.ts(549,50): error TS2300: Duplicate identifier 'SlowBuffer'. node_modules/@types/node/index.d.ts(570,18): error TS2300: Duplicate identifier 'EventEmitter'. node_modules/@types/node/index.d.ts(733,18): error TS2300: Duplicate identifier 'Agent'. node_modules/@types/node/index.d.ts(791,18): error TS2300: Duplicate identifier 'Worker'. node_modules/@types/node/index.d.ts(1377,17): error TS2300: Duplicate identifier 'CompleterResult'. node_modules/@types/node/index.d.ts(1414,18): error TS2300: Duplicate identifier 'Script'. node_modules/@types/node/index.d.ts(2320,18): error TS2451: Cannot redeclare block-scoped variable 'constants'. node_modules/@types/node/index.d.ts(2550,18): error TS2300: Duplicate identifier 'TLSSocket'. node_modules/@types/node/index.d.ts(2861,10): error TS2300: Duplicate identifier 'Utf8AsciiLatin1Encoding'. node_modules/@types/node/index.d.ts(2862,10): error TS2300: Duplicate identifier 'HexBase64Latin1Encoding'. node_modules/@types/node/index.d.ts(2863,10): error TS2300: Duplicate identifier 'Utf8AsciiBinaryEncoding'. node_modules/@types/node/index.d.ts(2864,10): error TS2300: Duplicate identifier 'HexBase64BinaryEncoding'. node_modules/@types/node/index.d.ts(2865,10): error TS2300: Duplicate identifier 'ECDHKeyFormat'. node_modules/@types/node/index.d.ts(3216,14): error TS2300: Duplicate identifier 'internal'. node_modules/@types/node/index.d.ts(3299,14): error TS2300: Duplicate identifier 'internal'. node_modules/@types/node/index.d.ts(3321,18): error TS2300: Duplicate identifier 'Domain'. node_modules/@types/node/index.d.ts(3613,14): error TS2300: Duplicate identifier 'process'. node_modules/@types/node/index.d.ts(3639,14): error TS2300: Duplicate identifier 'console'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(78,6): error TS2300: Duplicate identifier 'BufferEncoding'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(234,18): error TS2300: Duplicate identifier 'EventEmitter'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(522,9): error TS2502: 'BuffType' is referenced directly or indirectly in its own type annotation. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(523,9): error TS2502: 'SlowBuffType' is referenced directly or indirectly in its own type annotation. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(524,26): error TS2300: Duplicate identifier 'Buffer'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(524,50): error TS2300: Duplicate identifier 'SlowBuffer'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(545,18): error TS2300: Duplicate identifier 'EventEmitter'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(708,18): error TS2300: Duplicate identifier 'Agent'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(766,18): error TS2300: Duplicate identifier 'Worker'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(1447,22): error TS2300: Duplicate identifier 'CompleterResult'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(1487,18): error TS2300: Duplicate identifier 'Script'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(1922,22): error TS2320: Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Socket'. Named property 'removeListener' of types 'EventEmitter' and 'Socket' are not identical. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(2434,22): error TS2451: Cannot redeclare block-scoped variable 'constants'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(2789,18): error TS2300: Duplicate identifier 'TLSSocket'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(3163,10): error TS2300: Duplicate identifier 'Utf8AsciiLatin1Encoding'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(3164,10): error TS2300: Duplicate identifier 'HexBase64Latin1Encoding'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(3165,10): error TS2300: Duplicate identifier 'Utf8AsciiBinaryEncoding'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(3166,10): error TS2300: Duplicate identifier 'HexBase64BinaryEncoding'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(3167,10): error TS2300: Duplicate identifier 'ECDHKeyFormat'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(3518,14): error TS2300: Duplicate identifier 'internal'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(3601,14): error TS2300: Duplicate identifier 'internal'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(3623,18): error TS2300: Duplicate identifier 'Domain'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(3915,14): error TS2300: Duplicate identifier 'process'. /home/victor/Desktop/workspace/sgt2-v3.x-front/typings/globals/node/index.d.ts(3941,14): error TS2300: Duplicate identifier 'console'. </code></p>
<p dir="auto">Do you know what can be?</p>
<p dir="auto">Thanks</p>