chore(deps): update dependency typescript to ~3.5.0 #498
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~3.4.0->~3.5.0Release Notes
Microsoft/TypeScript
v3.5.1Compare Source
For release notes, check out the release announcement.
For new features, check out the What's new in TypeScript v3.5.1.
For the complete list of fixed issues, check out the
Downloads are available on:
Special thanks to all our contributors in this release:
Changes:
cf7b2d4Bring #31486 and #31586 intorelease-3.5(#31634) [ #31615 ]ff7f239Update LKG.660964bUpdate version to '3.5.1'.4e0fa10Merge branch 'master' into release-3.538f3b0531304 - Autocomplete for enum values fails when typing "/" (#31362)b724c13Merge pull request #31588 from microsoft/noLogWhenPluginFound57d9eccDo not log errors when ts server plugin is not found in one folder but is eventually resolved. [ #30106 ]a06ab85Merge pull request #31560 from andrewbranch/bug/314859380b9fMerge pull request #31568 from andrewbranch/bug/313477ff97d1Merge pull request #31572 from microsoft/normalizedIntersectionLimiterSee more
b460d8cExpose getTypeOfArrayLiteralOrObjectLiteralDestructuringAssignment with better name (#31564)dfd28d2Fix handling of empty 'types', 'typings', etc. fields in package.json (#31539)bb4080cCollect all symlinks a file may have witnessed when attempting to generate specifiers (#31571)01d1514Accept new baselines53f37cfAdd testf20a4fdLimit size of union types resulting from intersection type normalization8ab0a25Improve error messages when indexing into a type (#31379)a2b4029Merge pull request #31542 from andrewbranch/bug/314817359ff8Add test5d9d4b2Manually copy just postMessage changes (#31557)f97f57cFix containsPrecedingToken for tokens whose preceding token is a missing node4d27361Allow JS with isolated modules (#31483)ae7a1b4Merge pull request #31541 from microsoft/packageIde601333Merge pull request #31537 from microsoft/fixIndexedAccessConstraint300cbefDon’t crash when creating a union signature from signatures that do and don’t have this typescd7a14aReuse getSimplifiedTypeOrConstraint function9f6791aError when writing to readonly tuple in rest element range5d188a8Always use resolved file to figure out subModule name in package id [ #30429 ]eecb6d9Add failing test85d3c5dTrace Package id at the module resolution site431f0d6Add test case for #304296a559e3Fix crash when checking invalid object rest (#31530)3d2af9fRelocate Debug namespace to reduce duplication (#31524)c3055e5Fix compiler crash with object rest in catch binding (#31522)b3dc32fReset error record in downlevel for-of (#31519)7611c5bFix for computed properties in instance initializers (#31517)b36c8a0Make anyArray.filter(Boolean) return any[], not unknown1e7a77cMerge pull request #31503 from microsoft/casingb7012b5Accept new baselines2fd4aaeAdd regression test8120094Simplify index and object types when obtaining indexed access constraintde96b41Merge pull request #31521 from microsoft/relatedSpanSubsequentDeclarations81d3595Accepted baselines.3f59129Add related span to original declaration on disagreeing variable/property types.c71423eUpdate user baselines (#31496)38f689dMerge pull request #31484 from microsoft/completionsSorting6971182Merge pull request #31505 from microsoft/fileNotFound43c7eb7Switch to using File not found message instead of trace message file does not exit [ #30872 ]db15051Ignore drive letters when comparing casings of the files with forceConsistentCasingInFileNames [ #31327 ]3745694Merge pull request #31476 from microsoft/cacheUnnormalizedIntersections07d850cPrevent type parameter printing from recuring on the same symbol (#31453)00cea41Add sortText depending scope of symbols [ #15024 ]9052804Test docCommentTemplate for prototype methods (#31477)2c34672Merge branch 'master' into cacheUnnormalizedIntersections907664cMerge pull request #31454 from microsoft/fixThisTypeIndexSignature309ae22Cache unnormalized intersection types41a3f83Accept new baselinesc6a670dAdd regression testd67fe13Don't ignore index signatures in this type constraintseeba30aFix infinite loop: module.exports alias detection (#31436)f4b83efFix newlines in smartSelection baselines to not be platform dependent (#31437)791af38Update LKG.90f9a99Merge remote-tracking branch 'origin/master' into release-3.515daf42Merge pull request #31028 from andrewbranch/feature/smart-selectc0bbb9bUpdate LKG.ff74180Merge remote-tracking branch 'origin/master' into release-3.5d484163Merge pull request #31262 from rpgeeganage/new_keyword_consistent_resolve9221868Merge pull request #31400 from microsoft/undoSubsitutionSimplification3885e3fFix error message regressed by #30916 (#31276)92a1547Accept new baselines4b5968eRevert change to substitution type simplification0007c09Update LKG.e83f9e9Merge remote-tracking branch 'origin/master' into release-3.5fb6ae38Merge pull request #31354 from microsoft/deferConditionalTypes70950cbMerge pull request #31377 from microsoft/noThisParameterFiltering4da2c25Merge pull request #31361 from anikethsaha/masterd292346Add comment providing context on the change066e4b6Accept new baselines1b3589bRemove simplification logic from getConditionalType + simplify substitution types4e040f7Merge pull request #31374 from weswigham/defer-conditionals-with-simplificationf140dfcChain RHS narrowing and truthiness narrowing in assignment expression narrowing (#31348)a65f35bRemove fourslash test90667e1Remove this-parameter filtering in statement completion8ba53b6Simplify conditionals upon comparison, rather than instantiation5460281Update user baselines (#31371)8965650ignore trigger chars within a string literalc610b98Moved the badges below the Typescript Headerb7fe99aInstantiate constraint with default upon comparison (#31240)bb9c5c9Reuse existing type instantiations33c7e7fAccept new baselines71fe8e8Defer resolution of the true and false branches of conditional typesf957f39Update LKG.f46f0b3Update version to 'rc'.ae3d1d4Merge pull request #31221 from microsoft/improveReverseMappedTypesbca2808Merge pull request #31337 from microsoft/fixConditionalTypeParameterReferenced8f2702Cache control flow results across invocations (#31003)39e9a2bMaintain modifiers onOmit(#31205)1366cc7Accept new baselinesee59ceeAdd regression test46a278dConsistently check conditional extends type for type parameter referencesc104aa1Accept new baselines4af3a3bLower priority for inferences made from partial reverse mapped types0c9db71fix parsing of leading union/intersection operator (#31265) [ #30995 ]a2c1feaUpdate user baselines (#31310)15e9c4cMerge pull request #31301 from microsoft/fixCustomTransformers0c1a283Add opt-in behavior for custom transforms to support bundlesb40b542Merge pull request #29676 from NicholasLYang/fixObjectRestEnumeration8c07b40Merge pull request #31098 from andrewbranch/bug/308045fb6bbeUpdating README: Travis CI icon (#31279)4b77f34Fixed several typos, mostly in comments and parameter names. (#31287)9ee8e06Update user baselines (#31289)714821fadd refactor of extract type (#30562)6c4876aMerge pull request #31270 from ajafff/getParsedCommandLine-path3c2f368add assert8f209befixed the commentscc0e5a0Update user baselines (#31269)676ed3eparseProjectReferenceConfigFile: always set SourceFile.pathca749b1updated the baseline files9959ce4added test578013bmodified the service file4ee0084avoid more useless type assertions (#31239)b365e65Add unmeasurable variance kind for marking types whose variance result is unreliable (#30416)fc88a1cDon't useany[]inarrayFrom(#31201)66d4010Update user baselines (#31207)6aaeb52Accept new baselinesf73308bAdd tests8891d4fPermit reverse mapped types to be created from partially inferable typesaa0e64aMerge pull request #31216 from ajafff/parsejsonconfigfilecontent-configcache883b00dparseJsonConfigFileContent: add extendedConfigCache parameter7d6d4b6Merge pull request #31213 from Microsoft/removeInternal45d72d0Fix accidental internal parameter to public APIfa4d5a2Fixed broken twitter account link in README.md (#31210)b5ffc26Don't use 'any[]' - return type are bivariant when relating to overloads.d7434a0Accepted baselines.e3a91d8Merge pull request #31191 from Microsoft/fileFromNodeModulesd9e8246ChangeOmitback to usingPick<T, Exclude<keyof T, K>>in order to maintain modifiers.a86fa20Don't pass a candidates array to getResolvedSignature (#31203) [ #30505 ]d22cb0cAccepted baselines.60962a8Added test.56b19c9Merge pull request #31119 from andrewbranch/bug/31020c9eb846Improve error message for use of 'await' in non-async context (#31194)bafdf4bremove extra newline55bffe3add tests to check errors for use of 'await' in non-async function1fd9de3do not suggest to mark constructor 'async'8e9556afix existing tests to accept new behavior246b66cadd related info to error for use of for-await-of in non-async functionb0143bbadd relatedInfo to error message for 'await' used in non-async functiona58fdf2Include only files that can be emitted into the source file directory check for composite projects [ #31181 ]3df65a7Add test when module resolution includes .ts file from node_modulese8161efUpdate user baselines (#31188)9509a54Merge pull request #31141 from Microsoft/fixInferenceToIndexedAccessWithSubstitutiond1646c7Fix the failing baseline66bdc83Merge pull request #31128 from Microsoft/buildWatchCaching7c63658Merge branch 'master' into buildWatchCaching0c9a35cUse 'Omit' instead of 'Pick<Exclude<...>>' for object rest (#31134)49d6f61Add ES2019 Object.fromEntries function (#30934)1d83982fix(lib): LoosenArraypredicate return types (#31076)5bc8a8dJSDocTypeTag.typeExpression is not optional (#30452)9efea31Merge pull request #31101 from Microsoft/cacheParseConfigFile1818218Move substitution type elimination to getActualTypeVariabled102ec0Better typings for promise.race based on conditional types (#31117) [ #25947 ]90d3acfMerge pull request #31078 from andrewbranch/bug/307529005449Merge pull request #31116 from Microsoft/higherOrderConstructorTypes6e736c1Added custom error message when trying to assign constraint type to generic type parameter (#30394) [ #29049 ]7016d45Better errors for indexing gettable/settable values (#26446)3ce3cdeAllow Boolean() to be used to perform a null check (#29955)be409faMerge pull request #31137 from Microsoft/fixConditionalInference61e1009More test baseline adjustments.0da305bAdjusted baseline for tests.39321a5Adjusted tests to correct baseline with new __rest9b32742Modified __rest output in test baselines.80d8e66Added a Object.prototype.propertyIsEnumerable check to __rest to prevent enumerable symbols from sneaking through.31551fdOnly instantiate types if we need toa539887Merge pull request #31150 from Microsoft/fixReadonlyIndexedAccess2d8527fMerge pull request #30779 from Microsoft/relateDiscriminants26fd6daRelate a source type that is sufficiently covered by a target discriminated unionde9b91fsimplify pragma comment parsing (#31144)7e135e7Merge pull request #31165 from Microsoft/targetAffectsEmit1e22110Merge branch 'master' into cacheParseConfigFilefb21e70Target affects emit hence mark the option so that all files are reemitted when target changes [ #31118 ]7423c69Merge pull request #31142 from Microsoft/binderPerf47d9081Update user baselines (#31161)64174b9Accept new baselinesbbce336Add additional tests6d60f69Accept new baselines3050c62Add regression test9c401b4Remove over-eager check of AccessFlags.Writing in getIndexedAccessType57a8ee1Fix binder performance regressioned75e1dAccept new baselines4f38aa8Add regression test0759bc6Fix inference to indexed access type containing substitution type19bdaf8Accept new baselines0783757Add regression test5a567adProperly instantiate true type when extends type is any or unknown4051d73Accept new baselines53cbea7Add tests454b428check more case for empty binding patten (#25263)d4c2fdcMake changes to public APId934401Change the type of 'uriComponent' (passed to 'encodeURIComponent') from 'string' to 'string | number | boolean'. Fixes #18159 (#31103)5940eb8Enable caches while watch mode compilation94ee0dcMerge pull request #31100 from Microsoft/tsBuildCacheModuleResolution0949ad1Fix #24991: Weaken narrowing for == (#29840)67a9029Update existing baseline3e79e8dAccept new baselinesbe88d53Only defer function type inference when contextual type is function type0eb2862Update error code in baselinee81fa21Emit error on class fields named "constructor"95413f0Merge pull request #31000 from Microsoft/ignoreStringIndexSignaturesOnly9f601ffChange error codeb1b0a82Add baselinesc5e6913Add grammar error on quoted constructors for TS 3.5d865ea7resolveName: remove useless case (#28669)f9d12edfix 31012 allow noEmitOnError with isolatedModules (#34) (#31043) [ #31012 ]5b79b94add action for enabling experimentalDescorators option in user config… (#30484) [ #29035 ]b8e3c41fix jsdoc iterator on expression of export assignment (#30558)867c992Update pull_request_template.md1a75d52add ES2020 matchAll APIs (#30936)9bb8373Accept API changes50f5e16Accept new baselines58898f4MakeOmitalias a separate type (#31115)b45df89emit error on destructuring of rest property (#29609) [ #26005 ]dc7c9baAvoid eagerly computing test payload (#27851)9168bd4Simplify hasExportDeclarations (#27846)591b255update error message and update baselines (#27628)4fe59dcOnly defer pure functions and pure constructor functions during inference72f30a8Add test for quoted constructorsaafba36Avoid recalculating versionPaths in loadNodeModuleFromDirectory (#27537)6e4c150When function parameters span multiple lines, make the function span start at the((#26907)583edcefix compiler crash (#25925)e007ccfSimplify chaining of transforms (#22994)bc46c77allow literan enum const assertions (#30700)fcd6f52Accept new baselines4384c90Support higher order inferences for constructor functionsa34f988Accepted baselines.57938e6MakeOmitalias its own mapped type so that references to it never expand toPick<...>.622cb42Accepted baselines.60e7b5dAdded tests.80f1ba4Cache files extended so we arent calculating the config again and again89497fcDon’t use checkExpressionCached when checking spread element inside a loopb010010Merge pull request #31095 from andrewbranch/tslint-exclude-tests93b958eShare module resolution cache among different program3264b64Reuse map if module resolution is same for redirected and own filesfecafebAdd getParsedCommandLine optional method on compiler host to be able to provide parsedCommandLine instead of redoing work4b81e37Merge pull request #31093 from andrewbranch/bug/309977ba1c8aExclude everything in tests48f0380Add crashing testf27cf9bMerge pull request #30971 from Microsoft/dtsSignatureChangefc7b7c8Exclude tests/cases from tslint9564368Fix crash getting error for type alias index signature without a typed4ff58d[fix] ES5 Object.keys only accepts an object (#27089)This list of changes was auto generated.
Renovate configuration
📅 Schedule: "after 9am and before 3pm" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "
rebase!".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.