{"action":"closed","issue":{"url":"https://api.github.com/repos/discordjs/discord.js-typings/issues/57","repository_url":"https://api.github.com/repos/discordjs/discord.js-typings","labels_url":"https://api.github.com/repos/discordjs/discord.js-typings/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/discordjs/discord.js-typings/issues/57/comments","events_url":"https://api.github.com/repos/discordjs/discord.js-typings/issues/57/events","html_url":"https://github.com/discordjs/discord.js-typings/issues/57","id":297091686,"number":57,"title":"node_modules/discord.js/typings/index.d.ts(267,40): error TS2689: Cannot extend an interface 'Map'. Did you mean 'implements'?","user":{"login":"mlagarrigue","id":33882410,"avatar_url":"https://avatars2.githubusercontent.com/u/33882410?v=4","gravatar_id":"","url":"https://api.github.com/users/mlagarrigue","html_url":"https://github.com/mlagarrigue","followers_url":"https://api.github.com/users/mlagarrigue/followers","following_url":"https://api.github.com/users/mlagarrigue/following{/other_user}","gists_url":"https://api.github.com/users/mlagarrigue/gists{/gist_id}","starred_url":"https://api.github.com/users/mlagarrigue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlagarrigue/subscriptions","organizations_url":"https://api.github.com/users/mlagarrigue/orgs","repos_url":"https://api.github.com/users/mlagarrigue/repos","events_url":"https://api.github.com/users/mlagarrigue/events{/privacy}","received_events_url":"https://api.github.com/users/mlagarrigue/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-02-14T13:15:57Z","updated_at":"2018-02-14T14:35:43Z","closed_at":"2018-02-14T14:35:43Z","author_association":"NONE","body":"it happens when compiling my ts project\r\n\"discord.js@11.3.0\",\r\n\r\nyou should just change\r\nexport class Collection<K, V> extends Map<K, V> {\r\ninto\r\nexport class Collection<K, V> implements Map<K, V> {\r\nhere is my tsconfig\r\n\r\n```\r\n{\r\n    \"compilerOptions\": {\r\n      /* Basic Options */\r\n      \"target\": \"ES5\",                          /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */\r\n      \"module\": \"es2015\",                         /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */\r\n      \"sourceMap\": true,                        /* Generates corresponding '.map' file. */\r\n       \"outDir\": \"./.build/\",                    /* Redirect output structure to the directory. */\r\n\r\n      /* Strict Type-Checking Options */\r\n      \"strict\": true,                           /* Enable all strict type-checking options. */\r\n       \"noImplicitAny\": true,                   /* Raise error on expressions and declarations with an implied 'any' type. */\r\n       \"strictNullChecks\": true,                /* Enable strict null checks. */\r\n       \"strictFunctionTypes\": true,             /* Enable strict checking of function types. */\r\n       \"noImplicitThis\": true,                  /* Raise error on 'this' expressions with an implied 'any' type. */\r\n       \"alwaysStrict\": true,                    /* Parse in strict mode and emit \"use strict\" for each source file. */\r\n  \r\n      /* Additional Checks */\r\n       \"noUnusedLocals\": true,                  /* Report errors on unused locals. */\r\n       \"noUnusedParameters\": true,              /* Report errors on unused parameters. */\r\n       \"noImplicitReturns\": true,               /* Report error when not all code paths in function return a value. */\r\n       \"noFallthroughCasesInSwitch\": true,       /* Report errors for fallthrough cases in switch statement. */\r\n  \r\n      /* Module Resolution Options */\r\n       \"moduleResolution\": \"node\",            /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */\r\n    }\r\n  }\r\n```\r\n"}}
{"actor":{"display_login":"mlagarrigue"}}