Commit Graph

34031 Commits

Author SHA1 Message Date
Mohamed Hegazy 13e80b9558 Fix building webTestServer 2017-03-09 15:59:38 -08:00
Mohamed Hegazy 706acdf138 Add quick fix to disable error checking in a .js file 2017-03-09 15:59:26 -08:00
Kanchalai Tanglertsampan 330f7bf96c Correctly parse import() 2017-03-09 15:55:09 -08:00
Vladimir Matveev 77c2a1d20d allow passing --logFile and --logVerbosity parameter to tsserver (#14566) 2017-03-09 15:25:44 -08:00
Anders Hejlsberg f2c487ed11 Merge pull request #14562 from Microsoft/fixLookupTypeRelation
Fix indexed access type relations
2017-03-09 10:51:29 -10:00
Anders Hejlsberg 4b4211f38b Add repro 2017-03-09 11:57:56 -08:00
Anders Hejlsberg 3fb364981b Accept new baselines 2017-03-09 11:50:30 -08:00
Anders Hejlsberg 014aeb3fd3 Use immediate constraint instead of base constraint in T[K] relations 2017-03-09 11:50:07 -08:00
Mohamed Hegazy 456c397a37 Merge pull request #14553 from Microsoft/fixBuildBreak
Add --lib es6 to @types/node dependent targets
2017-03-09 09:05:28 -08:00
Mohamed Hegazy fe7719f0a9 Disable check diagnostics per line 2017-03-08 23:18:39 -08:00
Mohamed Hegazy 3d03f8d8a5 Merge branch 'fixBuildBreak' into checkJSFiles 2017-03-08 23:17:28 -08:00
Mohamed Hegazy 63cbe8edbf Add es6 to buildProtocol 2017-03-08 23:10:14 -08:00
Mohamed Hegazy a202fa4c88 add es6 to buildProtocol 2017-03-08 23:08:55 -08:00
Mohamed Hegazy 81c0bd50ab Add --lib es6 to @types/node dependent targets 2017-03-08 23:03:30 -08:00
Mohamed Hegazy e9f82145b7 Code review comments 2017-03-08 21:50:23 -08:00
e-cloud 5f5aa20816 test: adjust test case completionEntryForUnionMethod 2017-03-09 11:52:54 +08:00
e-cloud 18154fe111 test: add tests for this type in native-this-assignable methods 2017-03-09 11:52:54 +08:00
e-cloud cedad974d2 fix: add generic info for methods with thisArg of built-in classes
when enabling `noImplicitThis`, if assing this argument for
methods like `array.forEach` will cause compilation error.
This commit fixes it.

fix #12548
2017-03-09 11:52:54 +08:00
Mohamed Hegazy 0fb415ac61 Merge pull request #14492 from Microsoft/anyInferences
Set inference result to `any` instead of `{}` for .js files if generic type parameter inference found no candidates
2017-03-08 16:15:50 -08:00
Kanchalai Tanglertsampan ca0816710a Wip-parsing import call expression 2017-03-08 15:53:38 -08:00
Kanchalai Tanglertsampan 787ed372fb Use term UpdateExpression instead of IncrementExpression to keep it consistent with ECMA spec 2017-03-08 14:57:57 -08:00
Mohamed Hegazy 41dbae58f3 code review comments 2017-03-08 14:15:26 -08:00
Arthur Ozga b7d09ef015 Make docComment template indent whitespace-only 2017-03-08 12:41:20 -08:00
Vladimir Matveev d847e6a66a Merge remote-tracking branch 'origin/master' into vladima/textChanges 2017-03-07 15:10:41 -08:00
Nathan Shively-Sanders 1bf4f06b2a Merge pull request #14498 from Microsoft/narrow-default-initialised-parameters
Remove undefined from the type of default  initialised parameters when narrowing
2017-03-07 15:03:57 -08:00
Mohamed Hegazy fb218b7897 Error if --checkJs is used without --allowJs 2017-03-07 14:21:13 -08:00
Mohamed Hegazy 9305d4d99e Change flag name to checkJs 2017-03-07 13:48:37 -08:00
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
Nathan Shively-Sanders 24c8de21c4 Inline isFlowNarrowable 2017-03-07 10:20:02 -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
Nathan Shively-Sanders c1f4c9c543 Update baselines 2017-03-07 09:29:29 -08:00
Nathan Shively-Sanders 2325fda8a6 Move isFlowNarrowable call inside getFlowTypeOfReference 2017-03-07 09:28:51 -08:00
Nathan Shively-Sanders 36513f21ab Remove only undefined, not null | undefined, from declared type 2017-03-07 09:14:51 -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 b015c1d9b0 Allow @check directives to switch on/off checking in a file 2017-03-06 21:39:32 -08:00
Mohamed Hegazy 1f9bb693ec Add --noEmit to tests 2017-03-06 21:01:47 -08: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