{"action":"opened","issue":{"url":"https://api.github.com/repos/palantir/eclipse-typescript/issues/257","labels_url":"https://api.github.com/repos/palantir/eclipse-typescript/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/palantir/eclipse-typescript/issues/257/comments","events_url":"https://api.github.com/repos/palantir/eclipse-typescript/issues/257/events","html_url":"https://github.com/palantir/eclipse-typescript/issues/257","id":88180639,"number":257,"title":"Duplicate identifier 'Promise'.","user":{"login":"Waog","id":5098472,"avatar_url":"https://avatars.githubusercontent.com/u/5098472?v=3","gravatar_id":"","url":"https://api.github.com/users/Waog","html_url":"https://github.com/Waog","followers_url":"https://api.github.com/users/Waog/followers","following_url":"https://api.github.com/users/Waog/following{/other_user}","gists_url":"https://api.github.com/users/Waog/gists{/gist_id}","starred_url":"https://api.github.com/users/Waog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Waog/subscriptions","organizations_url":"https://api.github.com/users/Waog/orgs","repos_url":"https://api.github.com/users/Waog/repos","events_url":"https://api.github.com/users/Waog/events{/privacy}","received_events_url":"https://api.github.com/users/Waog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-14T12:55:12Z","updated_at":"2015-06-14T12:55:12Z","closed_at":null,"body":"Problem\r\n--\r\nI get the following compile error in ``es6-promise.d.ts`` from [DefinitelyTyped](https://github.com/borisyankov/DefinitelyTyped/blob/master/es6-promise/es6-promise.d.ts):\r\n*Duplicate identifier 'Promise'.*\r\n\r\nThose two lines are marked with the error:\r\n`declare class Promise<R> implements Thenable<R> {`\r\n`declare module Promise {`\r\n\r\nThis error only occurs in eclipse with the eclipse-typescript plugin. When using `tsc` from the command line no errors are reported.\r\n\r\nProject typescript plugin settings\r\n--\r\n```\r\nbuild.path.exportedFolder=\r\nbuild.path.sourceFolder=app/ts;typings;test/spec\r\ncompiler.codeGenTarget=ECMASCRIPT5\r\ncompiler.compileOnSave=false\r\ncompiler.generateDeclarationFiles=false\r\ncompiler.mapSourceFiles=false\r\ncompiler.moduleGenTarget=COMMONSJS\r\ncompiler.noEmitOnError=true\r\ncompiler.noImplicitAny=false\r\ncompiler.noLib=false\r\ncompiler.outputDirOption=\r\ncompiler.outputFileOption=\r\ncompiler.removeComments=false\r\ncompiler.suppressImplicitAnyIndexErrors=false\r\neclipse.preferences.version=1\r\n```\r\n\r\ntsc compiler settings\r\n--\r\nI'm using a grunt task:\r\n```js\r\noptions: {\r\n  target: 'es5',\r\n  sourceMap: true,\r\n  declaration: true,\r\n  module: 'commonjs',\r\n  emitDecoratorMetadata: true\r\n}\r\n```\r\n"}}