Commit Graph

8294 Commits

Author SHA1 Message Date
jbondc 921adc89e8 Utilities typos + missing reference 2015-09-19 11:43:15 -04:00
Daniel Rosenwasser e4f0ebbb3e Fixed links to spec in the README. 2015-09-19 00:53:15 -07:00
Daniel Rosenwasser c28efb7572 Merge pull request #4845 from Microsoft/updateDTRWC
Fix importDefinitelyTypedTests script
2015-09-18 14:39:53 -07:00
Daniel Rosenwasser 5a2a7021fa Fix jake task, style/const in script. 2015-09-18 13:13:36 -07:00
Daniel Rosenwasser f88f029fdf Merge pull request #4862 from Microsoft/contextuallyTypeMethodDeclarations
Contextually type method declaration parameters in object literals
2015-09-18 12:34:40 -07:00
Daniel Rosenwasser 254af55204 Added missing predicate for contextual types of parameters. 2015-09-18 12:22:57 -07:00
Daniel Rosenwasser 2aa97bd1b9 Use custom type guard. 2015-09-18 12:22:52 -07:00
Daniel Rosenwasser 76da69c6c6 Added failing fourslash test. 2015-09-18 12:22:48 -07:00
Daniel Rosenwasser 3fa6b6de3a Accepted baselines, issue not apparent in compiler tests. 2015-09-18 12:22:09 -07:00
Wesley Wigham 04b0aa269f s/var/let 2015-09-18 10:29:54 -07:00
Punya Biswal 55218d64a5 Fix capitalization of minimumintegerDigits 2015-09-18 08:42:42 -04:00
Wesley Wigham ccba427a27 whitespace! 2015-09-17 21:08:35 -07:00
Wesley Wigham 8a46de4d5c Rework lint to use tslint-as-a-lib 2015-09-17 21:04:33 -07:00
Wesley Wigham fe5bca8712 Next-line rule was too strict
We have a few places where we do this:
```ts
if {
  //...
}
// Look, a comment
else {
  //...
}
```
I don't think we want to forbid these cases, so I'm loosening the requirement from "must be on the line after the prior curly brace" to "can't be on the same line as the curly brace".
2015-09-17 19:11:44 -07:00
Daniel Rosenwasser 37ee17d40d es3 -> es5. 2015-09-17 17:56:39 -07:00
Daniel Rosenwasser 925f0843d9 Add a jake task, .gitignore entry, and add tsd as a dev dependency. 2015-09-17 17:55:07 -07:00
Daniel Rosenwasser bf989aa565 Final touches on the script. 2015-09-17 17:26:10 -07:00
Mohamed Hegazy cd390fd83b Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-09-17 17:16:00 -07:00
Wesley Wigham e813963040 Merge pull request #4458 from weswigham/tslint-rules
Add tslint rules for #3994
2015-09-17 17:05:42 -07:00
Daniel Rosenwasser 23af2a7163 Improved command line interaction for 'importDefinitelyTypedTests' script. 2015-09-17 16:37:18 -07:00
Daniel Rosenwasser 22eef28cbd forEach -> for-of, and other changes. 2015-09-17 16:33:50 -07:00
Mohamed Hegazy 1e0b9cab45 accept baselines 2015-09-17 16:14:58 -07:00
Mohamed Hegazy 98db640a2c Fix documentation 2015-09-17 16:14:46 -07:00
Mohamed Hegazy 6969986bf0 Use intersection types in Object.assing defintion 2015-09-17 16:14:39 -07:00
Wesley Wigham 2793bc2acd Feedback from PR, remove unused identifiers 2015-09-17 14:29:52 -07:00
Wesley Wigham e200dadd9a Merge pull request #4829 from weswigham/default-aliasing-bug
Default aliasing bug fix
2015-09-17 13:49:17 -07:00
Wesley Wigham 8d6cb5fbb5 Feedback from PR 2015-09-17 13:26:04 -07:00
Wesley Wigham f2b901a3c7 reverts 60a120f, reexposes es6 option 2015-09-17 13:14:31 -07:00
Wesley Wigham f3062c59fd style nits 2015-09-17 13:03:47 -07:00
Daniel Rosenwasser 1ab10adbdc Added tests. 2015-09-17 00:53:17 -07:00
Daniel Rosenwasser 8bb6313b22 Use explicit types, var -> let/const, misspellings, style. 2015-09-16 17:42:42 -07:00
Daniel Rosenwasser a47b7b8f17 Added 'tsconfig.json' for 'importDefinitelyTypedTests' script. 2015-09-16 17:35:18 -07:00
Daniel Rosenwasser 9696e57772 Added tsd.json file with 'node.d.ts'. 2015-09-16 17:34:31 -07:00
Wesley Wigham 5dfca610f9 When targeting ES3 emit default alias as indexer 2015-09-16 17:33:49 -07:00
Daniel Rosenwasser 1500f5cd02 Moved importDefinitelyTypedTests.ts to its own folder. 2015-09-16 17:28:30 -07:00
Wesley Wigham a2d7b09488 failing test 2015-09-16 15:47:52 -07:00
Wesley Wigham 75a5c2229c Fix import/export assignment checks to look at module kind rather than language version 2015-09-16 11:24:41 -07:00
Wesley Wigham 60a120f22a remove es6 as option from command line 2015-09-16 11:08:03 -07:00
Daniel Rosenwasser c9170b81a8 Merge pull request #4815 from basarat/patch-1
fix types : export the base as children are exported
2015-09-15 20:42:19 -07:00
Mohamed Hegazy fc438eff22 Merge pull request #4774 from Microsoft/iocaptureFixes
Fixes for the the tsc instrumentation and adding tsconfig support to rwc runner
2015-09-15 17:57:58 -07:00
Basarat Ali Syed 32048ca5ac fix types : export the base as children are exported 2015-09-16 10:57:54 +10:00
Mohamed Hegazy 5b5d876cc2 more code review comments 2015-09-15 17:47:50 -07:00
Mohamed Hegazy a93ab613fe Merge branch 'master' into iocaptureFixes 2015-09-15 17:41:34 -07:00
Wesley Wigham c71a0acdff Pair of new tests for the new flag 2015-09-15 15:45:23 -07:00
Wesley Wigham 48ba708e5e Add es6 module kind, stop using script version to infer it 2015-09-15 15:36:37 -07:00
Daniel Rosenwasser 4fedd77c33 Update LKG. 2015-09-15 15:18:59 -07:00
Daniel Rosenwasser ad8bcfabdc handeles -> handles 2015-09-15 15:18:24 -07:00
Daniel Rosenwasser 45ecce4710 Merge pull request #4809 from Microsoft/mergeFromRelease1.6
Merge from release-1.6
2015-09-15 15:16:44 -07:00
Daniel Rosenwasser 00dcb57e3b Bump version back to 1.7.0. 2015-09-15 15:08:48 -07:00
Daniel Rosenwasser 38b605ea7d Merge branch 'release-1.6'
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/program.ts
	tests/baselines/reference/emptyObjectBindingPatternParameter04.symbols
	tests/baselines/reference/emptyObjectBindingPatternParameter04.types
	tests/baselines/reference/nodeResolution5.errors.txt
	tests/baselines/reference/nodeResolution7.errors.txt
2015-09-15 13:36:08 -07:00