Commit Graph

16762 Commits

Author SHA1 Message Date
Vladimir Matveev fab4ef0bde cache semantic and declaration diagnostics in program (#14516) 2017-03-07 13:26:41 -08:00
Andy 3e5b232e88 Merge pull request #14519 from Microsoft/gulp_lint
Fix tslint compilation in gulp
2017-03-07 12:33:11 -08:00
Mohamed Hegazy 4d9f717858 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2017-03-07 11:47:57 -08:00
Mohamed Hegazy 3c751ecdad Update baseline 2017-03-07 11:47:38 -08:00
Andy Hanson 7f85c228e8 Fix tslint compilation in gulp 2017-03-07 11:47:26 -08:00
Andy 6117ed7708 Merge pull request #14391 from Microsoft/lint_better
Update tslint to `latest` (`next` is still on 4.3) and lint for BOM
2017-03-07 11:41:55 -08:00
Mohamed Hegazy 89974bdaaf Merge pull request #14172 from Microsoft/moduleExportsAlias
Fix #14171: Recognize property assignements to `module.export` aliases as exports
2017-03-07 11:13:19 -08:00
Mohamed Hegazy 4610dc7e3b Merge pull request #14508 from Busyrev/fix-function-parameter-default-value
FIX: #14507 Function parameter default value wrongly emmited by Printer
2017-03-07 10:34:33 -08:00
Anders Hejlsberg b49859be79 Merge pull request #14510 from Microsoft/fixNullableThisType
Fix nullable 'this' type
2017-03-07 08:17:25 -10:00
Nathan Shively-Sanders 19b27824c0 Merge pull request #14512 from Microsoft/more-gulpfile-tsconfig-relative-path-fixes
Fix more gulp.dests to use the relative path of the tsconfig instead of `.`
2017-03-07 10:01:31 -08:00
Nathan Shively-Sanders 0c53b539c8 Fix more gulp.dests to use the relative path of the tsconfig 2017-03-07 09:52:45 -08:00
Anders Hejlsberg a4d2c572bf Accept new baselines 2017-03-07 09:08:02 -08:00
Anders Hejlsberg 0ac92b4706 Add tests 2017-03-07 09:07:53 -08:00
Anders Hejlsberg fa02c808d1 Remove null and undefined from contextual 'this' type 2017-03-07 09:07:34 -08:00
Mike Busyrev 1f46dd9949 FIX: #14507 Function parameter default value wrongly emmited by Printer 2017-03-07 19:35:57 +03:00
Mohamed Hegazy 89f43d13e0 Merge pull request #14273 from Microsoft/infereClassPropertiesFromMethods
Infer class properties from methods and not just constructors in .js files
2017-03-06 17:13:05 -08:00
Mohamed Hegazy 3705b87c5c Merge branch 'master' into infereClassPropertiesFromMethods 2017-03-06 16:53:51 -08:00
Mohamed Hegazy 8d9692129f Fix typo 2017-03-06 16:53:39 -08:00
Mohamed Hegazy b3161e365a Merge pull request #14222 from Microsoft/addAnyStringIndexerToJSObjects
Add a string indexer to any for object literals on a .js file
2017-03-06 16:44:30 -08:00
Yui 0425175b3a Merge pull request #14493 from Microsoft/master-fixEmitExtraESModuleMark
[Master] Do not emit ESModule marker if file is not external module
2017-03-06 14:09:14 -08:00
Kanchalai Tanglertsampan 6a2d2608c3 Update baselines 2017-03-06 13:36:54 -08:00
Kanchalai Tanglertsampan ed071a9b02 Only emit ESModule marker when there is no export equal and the file is external module 2017-03-06 13:33:51 -08:00
Anders Hejlsberg f7242f3983 Merge pull request #14486 from Microsoft/strictChecks
New --strict master option
2017-03-06 11:23:15 -10:00
Anders Hejlsberg c968eed968 Merge pull request #14472 from Microsoft/typeParameterTypeGuards
Fix type parameter type guards
2017-03-06 11:12:17 -10:00
Anders Hejlsberg 41226d0d75 Merge pull request #14141 from Microsoft/contextualThisType
Typed 'this' in object literal methods
2017-03-06 11:11:40 -10:00
Anders Hejlsberg de120b32e9 Accept new baselines 2017-03-06 13:05:14 -08:00
Anders Hejlsberg d3b7058c29 Change 'tsc --init' to default to 'strict: true' 2017-03-06 13:04:59 -08:00
Andy 3295ca3c73 Merge pull request #14385 from Microsoft/path-completions
Move code from 'Completions' to 'PathCompletions' namespace
2017-03-06 09:11:44 -08:00
Andy Hanson cc77225f35 Go back to using tslint@next 2017-03-06 06:21:56 -08:00
Andy Hanson d58cfa238b Merge branch 'master' into lint_better 2017-03-06 06:20:48 -08:00
Anders Hejlsberg 7ed13d0c1e Accept new tsconfig baselines 2017-03-05 16:51:58 -08:00
Anders Hejlsberg a4e80b5004 Merge branch 'master' into strictChecks 2017-03-05 16:31:22 -08:00
Anders Hejlsberg 478c0d81f7 Merge branch 'master' into typeParameterTypeGuards 2017-03-05 15:44:05 -08:00
Vladimir Matveev b1520345be use ES6 library when building tslint rules (#14474) 2017-03-05 15:41:47 -08:00
Anders Hejlsberg af686adf1f Accept new baselines 2017-03-05 14:19:20 -08:00
Anders Hejlsberg 91b658da36 Construct intersection types for type guards involving type parameters 2017-03-05 14:12:55 -08:00
Anders Hejlsberg 4c71a7c084 Accept error baselines 2017-03-05 14:12:13 -08:00
Anders Hejlsberg efea81b8a0 Add failing repro 2017-03-05 14:07:33 -08:00
Anders Hejlsberg 19e88acbfa Merge pull request #14446 from Microsoft/circularVarTypeInference
Fix variable type inference circularity
2017-03-03 14:01:28 -10:00
Anders Hejlsberg 56e2735f56 Fix fourslash test 2017-03-03 14:57:14 -08:00
Anders Hejlsberg c2431ade0c Add regression test 2017-03-03 14:33:07 -08:00
Anders Hejlsberg 6995055c86 Accept new baselines 2017-03-03 14:32:59 -08:00
Anders Hejlsberg 65cea207da Use getTypeOfExpression when inferring variable type from initializer 2017-03-03 14:32:18 -08:00
Andy 0afb84a123 Merge pull request #14437 from Microsoft/dead_code
Remove old commented-out code
2017-03-03 13:53:54 -08:00
Anders Hejlsberg cda741d14a Introduce --strict compiler option 2017-03-03 10:25:10 -08:00
Andy Hanson b2f7d47977 Remove old commented-out code 2017-03-03 08:54:41 -08:00
Andy 8bc21f9f68 Merge pull request #13597 from Microsoft/enum_member
Set ScriptElementKind for enum members to "enum member" instead of "const"
2017-03-03 07:35:22 -08:00
Andy 6d7bc655ea Merge pull request #13999 from Microsoft/semicolon
Fix "semicolon" lint rule options (was not enabled)
2017-03-03 07:19:21 -08:00
Andy Hanson 556e8c3845 Merge branch 'master' into enum_member 2017-03-03 07:04:40 -08:00
Andy Hanson 3bc125463b Add more missing semicolons 2017-03-03 07:00:52 -08:00