Issue 1:
Typed definition of workbox-sw flashes error because of missing BroadcastChannel declaration:

static broadCastUpdate (channel: BroadcastChannel, cacheName: string, url: string, source: string): void;

If you know how to fix the issue, make a pull request instead.

I tried using the @types/xxxx package and had problems.

I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript

I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).

Mention the authors (see Definitions by: in index.d.ts) so they can respond.

Authors: @wessberg

If you do not mention the authors the issue will be ignored.

Issue 2:
Hi,

I have a problem that I think is about @types/node

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"

When I tried to build the project this happen:

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)

And with @types/node 6.0.45 and typings.json "node": "registry:dt/node#6.0.0+20161121110008"

this happen:

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'.

Do you know what can be?

Thanks