Wesley Wigham
758e4402da
Add git hooks
2015-09-24 17:00:27 -07:00
Daniel Rosenwasser
67b44b59c0
Add JSDoc to methods, constructors, classes, and namespace/module declarations.
2015-09-24 16:40:13 -07:00
Daniel Rosenwasser
7f4f461a84
Amended tests.
2015-09-24 16:30:40 -07:00
Daniel Rosenwasser
1545ab56f3
Use a loop because reduce is unreadable.
2015-09-24 16:01:47 -07:00
Anders Hejlsberg
bcea3594a3
Merge pull request #4956 from Microsoft/bindingElementContextualTyping
...
Fix parameter destructuring issues
2015-09-24 15:55:37 -07:00
Anders Hejlsberg
80e3b72816
Adding repro from #4818 to test
2015-09-24 15:46:00 -07:00
Daniel Rosenwasser
b2821c5321
Added tests for JSDoc comment templates on other declarations/statements.
2015-09-24 15:00:51 -07:00
Anders Hejlsberg
eb73565429
Adding tests
2015-09-24 13:52:19 -07:00
Anders Hejlsberg
1a26789615
Properly propagate contextual types into parameter destructuring elements
2015-09-24 13:35:12 -07:00
Wesley Wigham
dd660dca39
Merge pull request #4811 from weswigham/es6-module-type
...
Support modules when targeting ES6 and an ES6 ModuleKind
2015-09-24 12:09:58 -07:00
Vladimir Matveev
fa3d9f3997
align behavior of constant expressions in initializers of ambient enum members with spec
2015-09-23 21:30:27 -07:00
Anders Hejlsberg
a292da593b
Check if binding element already has been assigned a contextual type
2015-09-23 14:45:09 -07:00
Vladimir Matveev
5078152a21
use formatting scanner with languageVariant=JSX for .tsx files
2015-09-22 14:57:23 -07:00
Anders Hejlsberg
7acb9dd0a3
Adding comments and addressing CR feedback
2015-09-22 14:17:40 -07:00
Anders Hejlsberg
285483d871
Merge branch 'master' into polymorphicThisType
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
2015-09-22 10:04:23 -07:00
Vladimir Matveev
5a77d67b63
Merge pull request #4921 from Microsoft/implementsAsIdentifier
...
disambiguate: 'implements' starts heritage clause vs 'implements' is …
2015-09-22 09:13:37 -07:00
Vladimir Matveev
1482adeb75
Merge pull request #4919 from Microsoft/removeUnusedCode
...
[cleanup] removed duplicate function implementation
2015-09-22 09:13:18 -07:00
Vladimir Matveev
c56b4165ec
disambiguate: 'implements' starts heritage clause vs 'implements' is a class name
2015-09-21 22:22:25 -07:00
Vladimir Matveev
2f7556256a
removed duplicate function implementation
2015-09-21 21:30:10 -07:00
Wesley Wigham
8ff551ce08
merge with master
2015-09-21 17:38:56 -07:00
Wesley Wigham
7b48a182c0
Merge pull request #4915 from weswigham/remove-generated-code
...
Delete generated file, add to gitignore
2015-09-21 17:16:07 -07:00
Wesley Wigham
d409ba785c
Delete generated file, add to gitignore
2015-09-21 16:58:45 -07:00
Anders Hejlsberg
06a250effe
Commenting out broken fourslash tests
2015-09-21 16:38:54 -07:00
Daniel Rosenwasser
c2f46c3ad9
Merge pull request #4886 from Microsoft/diagnosticDuplicateCodes
...
Fix duplicate codes in diagnostics
2015-09-21 15:40:30 -07:00
Anders Hejlsberg
89ea067e1c
Accepting new baselines
2015-09-21 14:30:23 -07:00
Anders Hejlsberg
9438a4bce0
Polymorphic "this" type
2015-09-21 14:29:31 -07:00
Wesley Wigham
db9b16451b
fixing lints in a pr about linting
2015-09-21 12:48:08 -07:00
Mohamed Hegazy
c5a85c761f
Update LKG
2015-09-21 02:06:36 -07:00
Mohamed Hegazy
2477d1c7e4
Merge branch 'punya-fix-capitalization'
2015-09-21 02:02:22 -07:00
Mohamed Hegazy
45d96a18ac
Merge branch 'fix-capitalization' of https://github.com/punya/TypeScript into punya-fix-capitalization
2015-09-21 02:00:58 -07:00
Daniel Rosenwasser
962ba8288b
Conflicts should cause errors instead of warnings.
2015-09-20 12:41:28 -07:00
Daniel Rosenwasser
b265467ce7
Accepted baselines.
2015-09-20 12:26:28 -07:00
Daniel Rosenwasser
942ca46637
Fixed duplicate diagnostic codes.
2015-09-20 12:16:56 -07:00
Daniel Rosenwasser
2e5b6fec7c
Add funcitonality to warn on duplicate codes.
2015-09-20 12:14:56 -07:00
SaschaNaz
602e845809
Merge remote-tracking branch 'Microsoft/master'
2015-09-20 15:06:36 +09:00
Daniel Rosenwasser
92f5f59a07
Merge pull request #4875 from jbondc/utilities-typos
...
Utilities typos + missing reference
2015-09-19 10:04:41 -07:00
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