{"action":"created","issue":{"url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/864","labels_url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/864/labels{/name}","comments_url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/864/comments","events_url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/864/events","html_url":"https://github.com/Reactive-Extensions/RxJS/issues/864","id":102077711,"number":864,"title":"Cannot transpile with typescript 1.5.3","user":{"login":"bruennijs","id":5459487,"avatar_url":"https://avatars.githubusercontent.com/u/5459487?v=3","gravatar_id":"","url":"https://api.github.com/users/bruennijs","html_url":"https://github.com/bruennijs","followers_url":"https://api.github.com/users/bruennijs/followers","following_url":"https://api.github.com/users/bruennijs/following{/other_user}","gists_url":"https://api.github.com/users/bruennijs/gists{/gist_id}","starred_url":"https://api.github.com/users/bruennijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruennijs/subscriptions","organizations_url":"https://api.github.com/users/bruennijs/orgs","repos_url":"https://api.github.com/users/bruennijs/repos","events_url":"https://api.github.com/users/bruennijs/events{/privacy}","received_events_url":"https://api.github.com/users/bruennijs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-20T07:15:38Z","updated_at":"2015-09-22T05:13:07Z","closed_at":"2015-09-22T05:13:07Z","body":"Hello,\r\nI want to compile this:\r\n\r\nvar readDirObs = rx.Observable.fromNodeCallback<string>(fs.readdir);\r\nreturn readDirObs(this.dbDir);\r\n\r\n My reference expression on top of the file is like this:\r\n/// <reference path=\"../node_modules/rx/ts/rx.all.d.ts\" />\r\n\r\nMy tsc compiler command line is like this:\r\n  var tsc = spawn('node', ['node_modules/typescript/bin/tsc',\r\n                          '--module', 'commonjs',\r\n                          '-t', 'ES5',\r\n                          '--outDir', './dist/js',\r\n                          //'./ts/Models.ts',\r\n                          './ts/Dal.ts',\r\n                          './ts/serverts.ts']);\r\n\r\n\r\nThe transpiler give the following error\r\nTranspile error:\r\nnode_modules/rx/ts/rx.all.d.ts(9,36): error TS1005: '=' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(9,40): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(9,57): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(9,69): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(11,26): error TS1005: '=' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(11,30): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(11,41): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(11,59): error TS1005: ',' expected.\r\n\r\nnode_modules/rx/ts/rx.all.d.ts(11,66): error TS1005: ']' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(11,74): error TS1005: ',' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(11,75): error TS1136: Property assignment expected.\r\nnode_modules/rx/ts/rx.all.d.ts(11,78): error TS1005: ':' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(11,81): error TS1005: ')' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(14,32): error TS1005: '=' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(14,36): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(14,50): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(27,25): error TS1005: '=' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(27,29): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(27,41): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(125,26): error TS1005: '=' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(125,39): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(126,33): error TS1005: '=' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(126,46): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(126,79): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(127,27): error TS1005: '=' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(127,31): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(127,54): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(128,26): error TS1005: '=' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(128,39): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(129,29): error TS1005: '=' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(129,39): error TS1005: '(' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(132,43): error TS1005: '=' expected.\r\nnode_modules/rx/ts/rx.all.d.ts(132,61): error TS1005: '(' expected.\r\nTypescript compilier exited\r\n\r\n----------------------------------\r\nThe gruntfile in github has a task 'rebuild-ts' with a A LOT of replace expressions very conditional. Can any body explain what I have to do?\r\nhttps://github.com/Reactive-Extensions/RxJS/blob/master/Gruntfile.js\r\n\r\nThank you, Olli"},"comment":{"url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/comments/142183871","html_url":"https://github.com/Reactive-Extensions/RxJS/issues/864#issuecomment-142183871","issue_url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/864","id":142183871,"user":{"login":"mattpodwysocki","id":49051,"avatar_url":"https://avatars.githubusercontent.com/u/49051?v=3","gravatar_id":"","url":"https://api.github.com/users/mattpodwysocki","html_url":"https://github.com/mattpodwysocki","followers_url":"https://api.github.com/users/mattpodwysocki/followers","following_url":"https://api.github.com/users/mattpodwysocki/following{/other_user}","gists_url":"https://api.github.com/users/mattpodwysocki/gists{/gist_id}","starred_url":"https://api.github.com/users/mattpodwysocki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattpodwysocki/subscriptions","organizations_url":"https://api.github.com/users/mattpodwysocki/orgs","repos_url":"https://api.github.com/users/mattpodwysocki/repos","events_url":"https://api.github.com/users/mattpodwysocki/events{/privacy}","received_events_url":"https://api.github.com/users/mattpodwysocki/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T05:13:07Z","updated_at":"2015-09-22T05:13:07Z","body":"Closing as we will require TypeScript 1.6 going forward."}}