https://github.com/Microsoft/TypeScript

sort by:
Revision Author Date Message Commit Date
99e4865 LKG update for 3.4.1 27 March 2019, 20:08:36 UTC
f0188c1 Update versions to 3.4.1 27 March 2019, 20:04:56 UTC
ae62bdc Merge branch 'master' into release-3.4 27 March 2019, 20:02:58 UTC
b7881a2 Unify substitution type `any` handling into costruction and instantiation (#30592) * Unify substitution type `any` handling into costruction and instantiation * Strengthen supertype reduction check to reduce breakage * Rename conditional type fields per convention * Explicitly handle anyish signatures in compareSignaturesRelated so strict variance doesnt kill subtyping * Allow tuple expansions to an `any` rest to be considered an `any` signature as well 27 March 2019, 19:55:17 UTC
307bf39 Merge pull request #30605 from Microsoft/sourceFileVersionTsc Ensure that we are setting source file version with --incremental from tsc (without --build or --watch) 26 March 2019, 21:53:13 UTC
7457e5d Pull out the incremental compilation into a function so we can test it 26 March 2019, 21:28:05 UTC
021444a Make it as api so we can test it 26 March 2019, 21:25:56 UTC
e28869d Ensure that from tsc with --incremental sets source file version Fixes #30588 and #30589 26 March 2019, 21:25:47 UTC
684c531 Always assert that source files are versioned when program is used with Builder 26 March 2019, 18:55:12 UTC
72dc16a Update user baselines (#30595) 26 March 2019, 14:31:19 UTC
32054f1 Forbid accessing block-scoped variables on globalThis (#30510) * Forbid accessing const & let on globalThis It's just an error; you still get the type of the property. * Disallow access of blockscoped vars on globalThis Also change Array, Function, String, et al from `const` to `var` so that they remain accessible via `globalThis.String`. * Update baselines after lib.d.ts change Note especially the change in redefineArray, which is now allowed as long as you provide a type that is assignable to ArrayConstructor. * Remove blockscoped vars from typeof globalThis Unlike forbidding them, this removes the properties entirely. Unfortunately, this means that accessing these properties is only an error with noImplicitAny, and that error is quite confusing. Let's discuss our options. I see 3: 1. Forbid access of block-scoped vars as properties (in all flag settings), but leave them on the type. Simple to implement. 2. Remove block-scoped vars from the globalThis type. Has the bad error/flag behaviour described above, but simple to implement. 3. Remove block-scoped vars from the globalThis type. Also, forbid accessing them by executing another resolveName lookup for failed property accesses on globalThisSymbol. If the second lookup returns a blockscoped var, issue an error instead of falling back to the index signature. This seems too complex to me. * Update baselines * Better error for block-scoped usage on globalThis So that value-space references have as clear an error as type-space references. * Update fourslash tests * Fix semi-colon lint * Don't copy so much when filtering blockscoped vars 25 March 2019, 21:07:48 UTC
e20b87f Add script for posting perf results back to GH (#30526) * Add script for posting perf results back to GH * Slightly more logging, use html url, not api url, lol * Log even more, nonzero exit code on error 23 March 2019, 00:39:20 UTC
0f6f3b7 Fix find all references of inherited constructor (#30514) * recursively look for inherited constructor references * add test * remove outdated comment * add tests * move function * improve tests * minor refactor * fix convert params refactoring to deal with inherited constructor calls * simplify refactor test 22 March 2019, 22:17:50 UTC
1639a5a Handle huge unions better in createUnionOrIntersectionProperty (#30411) * Handle huge unions better in createUnionOrIntersectionProperty * Mimic first-in-wins behavior of pushIfUnique to retain order * !props -> props.length === 0 (why dont we warn on that ffs) * Avoid collection into an array if there are no properties 22 March 2019, 16:56:39 UTC
b86dea0 Fix crash caused by cyclic defaults (#30532) 22 March 2019, 01:27:14 UTC
e72f006 Merge pull request #30524 from Microsoft/moduleResolutionError Report output file not built error for any module resolution that ends up to source file 21 March 2019, 17:05:49 UTC
8da384d Report output file not built error for any module resolution that ends up to source file Fixes #29918 21 March 2019, 15:55:12 UTC
adf760a Update user baselines (#30521) 21 March 2019, 15:33:22 UTC
2932421 Merge pull request #30495 from Microsoft/fix29427 Adjust offset to account for 'this' parameter when emitting parameter decorators 20 March 2019, 19:56:50 UTC
800f7a3 Merge pull request #30414 from Microsoft/jsSyntaxCompletions Filter ts only keywords from js file completion 20 March 2019, 17:38:11 UTC
fa97054 Merge pull request #30438 from Microsoft/tsconfigChangeDetection Check oldest output time with tsconfig time to see if its out of date 20 March 2019, 17:28:23 UTC
e94b7d8 Check extended tsconfig time with oldest output time to report not upto date 20 March 2019, 00:19:15 UTC
8cef0c5 Merge branch 'master' into tsconfigChangeDetection 19 March 2019, 23:54:25 UTC
cfb0ade Merge pull request #28609 from ajafff/class-decorator-generics resolve TypeReference in class decorator at parent of class 19 March 2019, 22:46:58 UTC
a0f122b Merge pull request #30494 from Microsoft/fix29561 Prevent substitution of 'super' in async super helper 19 March 2019, 22:42:20 UTC
5194264 Merge pull request #30492 from Microsoft/prettyBuild Ensure --pretty with --build is passed correctly to create reporters 19 March 2019, 19:11:09 UTC
07bec28 Adjust offset to account for 'this' parameter when emitting parameter decorators 19 March 2019, 18:46:18 UTC
e19c7f1 Prevent substitution of 'super' in async super helper 19 March 2019, 18:35:18 UTC
4b3178c Merge pull request #30491 from Microsoft/fix30066-master Fix _superIndex emit when super access captured in async arrow 19 March 2019, 18:26:40 UTC
972eaf6 Merge pull request #30479 from Microsoft/fix30066 Fix _superIndex emit when super access captured in async arrow 19 March 2019, 18:25:42 UTC
0bcc46a Ensure --pretty with --build is passed correctly to create reporters Fixes #30282 19 March 2019, 17:53:06 UTC
4e54f30 Fix _superIndex emit when super access captured in async arrow 19 March 2019, 17:20:08 UTC
84087d0 Use shorthand property assignment in convert parameters to object (#30468) * create shorthand property assignment in argument object when possible * add shorthand property assignment test * don't offer refactor on jsdoc comment * add jsdoc test * improve jsdoc test * use crlf 19 March 2019, 16:28:09 UTC
4fed542 Fix _superIndex emit when super access captured in async arrow 19 March 2019, 01:08:58 UTC
9e28a81 Remove circularity fallback deferral in `getConditionalType` (#30470) 18 March 2019, 23:35:41 UTC
3127962 Fix authors script (#30440) 18 March 2019, 19:26:27 UTC
e552163 Merge pull request #30439 from Microsoft/forceBuild Passing --force option to build, builds project from start 18 March 2019, 18:15:25 UTC
10b9051 Fix convert to named parameters rest parameter tuple (#30286) * check if rest parameter is of tuple type in isOptionalParameter * expose isArrayType and isTupleType in checker * don't offer refactor if rest parameter type is neither array nor tuple type * add tests for rest parameters * fix tests for renamed refactor * remove unnecessary conditional operator 18 March 2019, 17:31:38 UTC
d8591a8 Update user baselines (#30463) 18 March 2019, 16:21:16 UTC
18b8625 fix error on globalThis type extend (#30460) * Add test for extend globalThis * Fix compile aborting 18 March 2019, 16:18:27 UTC
d0646a6 Merge pull request #30084 from dragomirtitian/GH-26563 Improved argument description for parameters originating from tuples 18 March 2019, 16:14:52 UTC
02963b4 Merge pull request #30443 from Microsoft/fixTypeInferenceLogicError Fix logic error introduced in #30334 18 March 2019, 15:49:16 UTC
36cf12f Merge pull request #30363 from Microsoft/fixTypeParameterPromotion Higher order type parameter promotion fixes 18 March 2019, 15:48:03 UTC
e9eb73b Accept new baselines 18 March 2019, 03:39:16 UTC
b6aff98 Add test relating type predicates with and without this parameters 18 March 2019, 03:39:08 UTC
3dd0814 Make IdentifierTypePredicate.parameterIndex index into signature.parameters 18 March 2019, 01:58:13 UTC
6587980 Fix globalThis completions (#30441) * Fix, but with test not quite right * Add missing completions to test * Remove out-of-date comment 16 March 2019, 02:10:39 UTC
084d14a Fix logic error introduced in #30334 16 March 2019, 01:57:22 UTC
52641c5 Passing --force option to build, builds project from start 15 March 2019, 23:04:10 UTC
cabf72b Revert "Passing --force option to build, builds project from start" This reverts commit 434fa94bdca63be629304bfde231ffa25d6754ed. 15 March 2019, 23:03:36 UTC
434fa94 Passing --force option to build, builds project from start 15 March 2019, 23:02:00 UTC
3b607df Merge pull request #30437 from Microsoft/validSourceFile Add more information when getValidSourceFile cant find the file in question. 15 March 2019, 22:46:29 UTC
ce490e1 Check oldest output time with tsconfig time to see if its out of date Fixes #26503 15 March 2019, 22:45:51 UTC
34a7b7b implements not a keyword in js 15 March 2019, 22:21:38 UTC
e78f52d Add more information when getValidSourceFile cant find the file in question. Log for #30180 15 March 2019, 22:03:45 UTC
105acf7 Update LKG. 15 March 2019, 20:19:18 UTC
5a8176e Merge remote-tracking branch 'origin/master' into release-3.4 15 March 2019, 20:17:44 UTC
0f598db Fixes #29524, a merged UMD-global (#30403) This kind of merged symbol causes crashes in two places because it's marked BlockScoped, which makes us assume that it must be something that is inside a SourceFile. However, block-scoped checks don't make sense for this kind of symbol, so I exclude them by looking at the kind of the valueDeclaration, as @mprobst suggested in the original bug. 15 March 2019, 16:45:33 UTC
ad740f2 Duh!! Static is allowed in JS. 15 March 2019, 16:07:23 UTC
563593b Enable better error spans for async functions (#30413) 15 March 2019, 00:10:42 UTC
f829f95 Filter ts only keywords from js file completion Fixes #29212 14 March 2019, 22:52:50 UTC
81ed511 Merge pull request #30402 from Microsoft/resolveJsonModule Handle json files included in the project from project reference redirect 14 March 2019, 22:50:18 UTC
b7c8e09 Merge branch 'master' into resolveJsonModule 14 March 2019, 22:13:39 UTC
da48790 Merge pull request #30410 from Microsoft/fixNonDeterministicTest Fix non deterministic test of tsbuild 14 March 2019, 21:36:52 UTC
03aee92 PR feedback 14 March 2019, 21:15:06 UTC
34ea77f Pass time to the vfs of resolveJsonModule 14 March 2019, 21:02:53 UTC
5afa0d4 Merge pull request #30409 from Microsoft/betterDiagnostics Display actual and expected diagnostic messages when they dont match 14 March 2019, 20:59:22 UTC
1c8a359 rename convert to named parameters (#30401) 14 March 2019, 20:41:29 UTC
b67f6ec Display actual and expected diagnostic messages when they dont match 14 March 2019, 20:18:06 UTC
60df864 Update LKG. 14 March 2019, 20:14:08 UTC
ded2f14 Merge branch 'master' into release-3.4 14 March 2019, 20:12:07 UTC
6ff9112 Merge pull request #30405 from Microsoft/correctBuilder34 [release-3.4] Use EmitAndSemanticDiagnosticsBuilder in builder from tsc 14 March 2019, 20:09:00 UTC
7ab2ad7 Merge pull request #30404 from Microsoft/correctBuilder Use EmitAndSemanticDiagnosticsBuilder in builder from tsc 14 March 2019, 20:08:50 UTC
27209e1 Use EmitAndSemanticDiagnosticsBuilder in builder from tsc 14 March 2019, 18:57:53 UTC
a571e50 Use EmitAndSemanticDiagnosticsBuilder in builder from tsc 14 March 2019, 18:54:47 UTC
bd229b5 Exclude Json files from Project reference redirects from files to be emitted list Fixes #30382 14 March 2019, 18:22:26 UTC
a6f7ec3 Handle outDir and declrationDir correctly to generate output file names for the tsbuild 14 March 2019, 17:00:55 UTC
7824fbc Merge pull request #30383 from Microsoft/fixFindAllRefsOfDefaultExport Fix find all refs of default export 14 March 2019, 16:39:06 UTC
8b04143 Merge pull request #30380 from Microsoft/completionsWhileWritingSpread Fix completions when writing spread expression 14 March 2019, 16:38:50 UTC
2961bc3 Merge pull request #30384 from Microsoft/completionsInTypeParameter Add extends of type parameter as type only location for completions 14 March 2019, 01:07:31 UTC
b29ed70 Merge branch 'master' into fixFindAllRefsOfDefaultExport 13 March 2019, 23:04:23 UTC
3426167 Merge pull request #30381 from Microsoft/mapConstructor Fix map constructor to accept readonly tuple 13 March 2019, 22:24:22 UTC
526eda8 Add extends of type parameter as type only location for completions Fixes #28511 13 March 2019, 22:22:33 UTC
5d08b68 Fix react-redux break on DT (#30375) * Forbid reentrancy in conditional type creation (force deferal on occurance) * Add repro from react-redux, accept updated baselines 13 March 2019, 22:21:46 UTC
66e2c54 add tests for finding references of named and default exports 13 March 2019, 22:11:33 UTC
c130fde fix check for default export 13 March 2019, 22:10:54 UTC
e42f37f Merge pull request #30374 from Microsoft/jsonSourceFile Correct the generation of output file names for tsc --b 13 March 2019, 22:00:59 UTC
027d65a Fix map constructor to accept readonly tuple Fixes #29721 13 March 2019, 21:52:58 UTC
4e0514d Merge pull request #30376 from Microsoft/recursiveSymLinks Handle recursive symlinks when matching file names 13 March 2019, 21:28:17 UTC
12d736f Fix completions when writing spread expression Fixes #29234 13 March 2019, 21:25:43 UTC
b6d520a Handle recursive symlinks when matching file names Fixes #28842 13 March 2019, 19:30:47 UTC
812ff98 Correct the generation of output file names for tsc --b Fixes #30356 13 March 2019, 18:23:14 UTC
be25b14 Update LKG. 13 March 2019, 18:17:04 UTC
69f86a6 Merge remote-tracking branch 'origin' into release-3.4 13 March 2019, 18:07:28 UTC
b762d62 Merge pull request #30344 from Microsoft/uptoDate Set oldestOutputFileName in uptodate status when updating just timestamps of output 13 March 2019, 17:54:59 UTC
8800cc2 Merge pull request #30288 from Microsoft/nonModuleNonPrepend Add output declaration files from referenced project into program if module: none 13 March 2019, 17:54:35 UTC
e7afa6c Accept new baselines 13 March 2019, 13:51:39 UTC
fd0d477 Add test 13 March 2019, 13:51:13 UTC
6656671 Proper contravariance in type parameter promotion 13 March 2019, 13:51:05 UTC
1463b32 Merge pull request #30348 from Microsoft/nonIncrementalPrepend Schedule bundle update only if project supports incremental build 13 March 2019, 01:43:50 UTC
back to top