Commit Graph

  • 908eeae7c3 Error on 'void' prior to property/index accesses. Daniel Rosenwasser 2020-10-09 16:43:30 -07:00
  • b31be85169 Accepted baselines. Daniel Rosenwasser 2020-10-09 15:25:23 -07:00
  • 8ba6f5f29d Added test. Daniel Rosenwasser 2020-10-09 15:24:53 -07:00
  • 6784c6ebe0 Accepted baselines. Daniel Rosenwasser 2020-10-09 15:16:19 -07:00
  • add2833769 Add new error message for being possibly 'void'. Daniel Rosenwasser 2020-10-09 16:48:23 -07:00
  • a109b5d5c8 Fix relative paths in commonjs decl emit w/property access (#40986) Nathan Shively-Sanders 2020-10-09 16:32:57 -07:00
  • aee18e0725 Merge pull request #41017 from weswigham/fix-unchecked-cast-crash Wesley Wigham 2020-10-09 15:58:08 -07:00
  • e6d525c5cb Structure is reused should be on new program instead of old program (#41005) Sheetal Nandi 2020-10-09 15:56:51 -07:00
  • 876e44bbc6 Handle extra file extensions when wild card directory watch is invoked (#41018) Sheetal Nandi 2020-10-09 14:07:55 -07:00
  • 4766a2e5a3 Fix overlapping changes when un-qualifying import use site within transformed export (#40987) Andrew Branch 2020-10-09 13:24:18 -07:00
  • 39c2a09b1f Fix crash due to unchecked cast in addImplementationSuccessElaboration Wesley Wigham 2020-10-09 10:53:36 -07:00
  • f7212aa119 Update package-lock.json TypeScript Bot 2020-10-09 06:23:21 +00:00
  • 02288a4c73 Merge pull request #41001 from weswigham/overload-impl-elab Wesley Wigham 2020-10-08 18:13:25 -07:00
  • f324fde873 Fix lint Wesley Wigham 2020-10-08 17:34:06 -07:00
  • ca26ca1dd0 Small baseline change - find() will get the first declaration with a body Wesley Wigham 2020-10-08 17:20:09 -07:00
  • de204430ec PR feedback Wesley Wigham 2020-10-08 17:17:06 -07:00
  • 6b29f36674 Rename variable Wesley Wigham 2020-10-08 16:14:47 -07:00
  • a49099fd15 Add elaboration when call fails all overloads but succeeds against the implementation signature Wesley Wigham 2020-10-08 14:55:14 -07:00
  • 23c5f9260c fix(3758): show completion for object literals in an assignment pattern (#40976) Alex T 2020-10-08 22:27:53 +03:00
  • 197ac804d1 LEGO: Merge pull request 40988 csigs 2020-10-07 17:11:17 -07:00
  • 6f91ed1672 LEGO: check in for master to temporary branch. csigs 2020-10-08 00:10:47 +00:00
  • cf3e28ea66 Revert "feat(40197): handle uncalled function checks in binary expressions (#40260)" Nathan Shively-Sanders 2020-10-07 14:14:49 -07:00
  • eaf4f46c17 feat(40197): handle uncalled function checks in binary expressions (#40260) Alex T 2020-10-08 00:06:42 +03:00
  • 4283428906 Fix export binding of namespaced typedefs (#40980) Nathan Shively-Sanders 2020-10-07 13:21:02 -07:00
  • 4dc7e59248 Merge pull request #40953 from weswigham/improve-completions-large-literal-perf Wesley Wigham 2020-10-07 12:44:20 -07:00
  • d6af322287 Add comment Wesley Wigham 2020-10-07 12:27:43 -07:00
  • c6734afba5 Adjust typeof import name lookup to better match type query lookup Wesley Wigham 2020-10-07 12:08:20 -07:00
  • 21ea557dcc LEGO: Merge pull request 40984 csigs 2020-10-07 11:11:10 -07:00
  • 30bb34ada4 LEGO: check in for master to temporary branch. csigs 2020-10-07 18:10:42 +00:00
  • fc783a9000 Fix missed tasks to add esnext.weakref (#40981) Nathan Shively-Sanders 2020-10-07 11:06:04 -07:00
  • f34220980b Add isDeeplyNestedType logic to getResolvedBaseConstraint (#40971) Anders Hejlsberg 2020-10-07 05:50:06 -07:00
  • 14c731689e LEGO: Merge pull request 40975 csigs 2020-10-06 23:11:16 -07:00
  • 486b779b58 LEGO: check in for master to temporary branch. csigs 2020-10-07 06:10:48 +00:00
  • 80413344bb LEGO: Merge pull request 40972 csigs 2020-10-06 17:11:19 -07:00
  • f0515eed0e LEGO: check in for master to temporary branch. csigs 2020-10-07 00:10:51 +00:00
  • 48ad25d4b9 Add currency sign to NumberFormatOptions type (#40709) Mauro Bringolf 2020-10-07 01:30:09 +02:00
  • 14714bbace Don't emit duplicate triple-slash directives when using API to print a .d.ts Ron Buckton 2020-10-06 15:02:41 -07:00
  • 3766be1bde Test indexed access to this on intersections (#40967) Daniel Rosenwasser 2020-10-06 14:18:44 -07:00
  • 692502e99f Merge pull request #40576 from weswigham/add-pyright Wesley Wigham 2020-10-06 13:22:27 -07:00
  • 87c83306dd Use suggested command, add now-fixed log Wesley Wigham 2020-10-06 12:56:51 -07:00
  • f8382d720f Add pyright user test Wesley Wigham 2020-09-15 13:28:55 -07:00
  • 3df8bc6a03 Rephrase to use binarySearchKey Wesley Wigham 2020-10-06 12:29:58 -07:00
  • d94b8e42a6 Fixes calculating resolved project reference to redirect for module resolution (#40954) Sheetal Nandi 2020-10-06 11:23:05 -07:00
  • 28469fb8b7 LEGO: Merge pull request 40965 csigs 2020-10-06 11:11:19 -07:00
  • b2b648605b LEGO: check in for master to temporary branch. csigs 2020-10-06 18:10:50 +00:00
  • 5c55fc0a21 fix(40817): suggest import for default exported alias (#40845) Alex T 2020-10-06 19:52:35 +03:00
  • a21003dbf8 Use npm ci for nightly builds (#40905) Niklas Mollenhauer 2020-10-06 18:52:07 +02:00
  • bd1d8e5ca2 Add definitions for WeakRef and FinalizationRegistry (#38232) ikokostya 2020-10-06 20:26:05 +04:00
  • fc0eed3795 lib: remove length field from SharedArrayBuffer (#40858) Simon Chan 2020-10-06 23:27:56 +08:00
  • 0c7d45a9ed fix: change deprecated FunctionLike type to SignatureDeclaration (#40795) Alex T 2020-10-06 17:51:01 +03:00
  • 1e49ad8370 fix(40685): fix generating docs for arrow functions (#40728) Alex T 2020-10-06 17:50:08 +03:00
  • 66c877f57a Update package-lock.json TypeScript Bot 2020-10-06 06:22:54 +00:00
  • 3e6c19aee0 LEGO: Merge pull request 40958 csigs 2020-10-05 23:11:08 -07:00
  • 9d9dfb4567 LEGO: check in for master to temporary branch. csigs 2020-10-06 06:10:41 +00:00
  • 29922d092d LEGO: Merge pull request 40956 csigs 2020-10-05 17:11:33 -07:00
  • 7589970b04 LEGO: check in for master to temporary branch. csigs 2020-10-06 00:11:02 +00:00
  • 57661607e9 fix(40929) PromiseConstructor error message for newer versions of ECMAScript (#40931) Vincent Boivin 2020-10-05 19:38:12 -04:00
  • da57f9876e Improve the performance of requesting completions within a massive array literal Wesley Wigham 2020-10-05 14:42:10 -07:00
  • 1191e2e731 Fix class expression from being assignable if types don't match (#40660) Tiago Tristao 2020-10-05 21:21:38 +01:00
  • 77df9faabf Merge pull request #40886 from weswigham/error-on-anonymous-type-with-nonlocal-unique-symbol Wesley Wigham 2020-10-05 11:59:45 -07:00
  • 6ee4a6b7f0 Skip past module.exports = { Foo } in go-to-defintion on 'Foo' (#40835) Andrew Branch 2020-10-05 11:47:19 -07:00
  • 736363b427 Use other files when necessary to determine import style in JS (#40879) Andrew Branch 2020-10-05 11:39:20 -07:00
  • dd84bc1dc9 Handles creating a reasonable AST when destructuring into a parens'd expresssion (#40115) Orta Therox 2020-10-05 14:12:47 -04:00
  • 82f3ac90ed LEGO: Merge pull request 40948 csigs 2020-10-05 11:11:17 -07:00
  • 00894165aa LEGO: check in for master to temporary branch. csigs 2020-10-05 18:10:39 +00:00
  • 61f72f72b9 Update user baselines +cc @sandersn (#40918) TypeScript Bot 2020-10-05 13:55:46 -04:00
  • 6e034d5ac0 Update package-lock.json TypeScript Bot 2020-10-05 06:22:47 +00:00
  • c7c3a87e3a LEGO: Merge pull request 40924 csigs 2020-10-02 23:11:15 -07:00
  • 9a0c23e2b5 LEGO: check in for master to temporary branch. csigs 2020-10-03 06:10:42 +00:00
  • 61aadc4ce2 fix(40320): Better errors when using properties/methods from newer versions of ECMAScript (#40650) Vincent Boivin 2020-10-02 19:47:37 -04:00
  • f0a6fd3a72 Guard against no parent nodes. avoidFullWalkReturn Daniel Rosenwasser 2020-10-02 16:34:33 -07:00
  • 420df7f12b Update user baselines +cc @sandersn (#40748) TypeScript Bot 2020-10-02 19:01:22 -04:00
  • b748484031 #40763 Fixed: Bad error message when forgetting a comma in an array of templ… (#40907) Richa Deshmukh 2020-10-02 15:37:59 -07:00
  • bac73a33fe Textually search for 'return' before diving into the tree when looking for return statements. Daniel Rosenwasser 2020-10-02 15:26:34 -07:00
  • fb2f3d4fd4 Do not create packagejson imports and auto import provider in partial semantic server mode (#40890) Sheetal Nandi 2020-10-02 10:59:04 -07:00
  • 5ecdcef4ce Remove unnecessary requirement for createHash since we already handle absence of it (#40891) Sheetal Nandi 2020-10-02 10:56:33 -07:00
  • 6a5527e0c6 Properly compare path prefixes when generating module paths (#40885) Wesley Wigham 2020-10-02 10:50:30 -07:00
  • 477e4b1a9d Fix function merged with export as namespace sourcefile (#40908) Nathan Shively-Sanders 2020-10-02 10:50:12 -07:00
  • b8ebad48d7 Fix recursive types in @typedef (#40861) Nathan Shively-Sanders 2020-10-02 08:46:42 -07:00
  • 0ba250dc3b Updated error message for TS1031 (#40889) Sai Geetha Kandepalli Cherukuru 2020-10-01 16:37:14 -07:00
  • b86dc34386 Limit when we allow nested unique symbols to be serialized to when their declaration is within the same file as the context Wesley Wigham 2020-10-01 15:20:01 -07:00
  • e9465c5de5 Properly compare path prefixes when generating module paths Wesley Wigham 2020-10-01 14:56:32 -07:00
  • da86332120 Limit export= js declaration emit to only json source files (#40882) Wesley Wigham 2020-10-01 14:55:24 -07:00
  • 3ea81e652a Ensure whitespace jsx elements are not counted when determining if a jsx child is the only child (#40839) Wesley Wigham 2020-10-01 14:36:44 -07:00
  • 5fbe9806db Fix noUncheckedIndexedAccess with tuple rest types and generic index types (#40681) Andrew Branch 2020-10-01 13:56:13 -07:00
  • 950dad9c29 Propagate wildcard types in template literal type construction (#40875) Anders Hejlsberg 2020-10-01 10:36:08 -10:00
  • b93da6291a Emit non-identifier enum member references as typeof parent[some name] (#40679) Wesley Wigham 2020-10-01 13:06:17 -07:00
  • 798b18be6e Add extensions to jsx automatically added import, per babel change (#40871) Wesley Wigham 2020-10-01 12:03:13 -07:00
  • 58af7defe4 Fix typo in JSON.stringify doc (#40735) jieniu$ 2020-10-01 10:46:58 -06:00
  • 9fc7dc5044 Merge branch 'master' into fix39364 Anders Hejlsberg 2020-10-01 09:41:23 -07:00
  • 4538e7352f Properly distribute over unions in keyof for mapped types with as clause (#40837) Anders Hejlsberg 2020-10-01 06:36:51 -10:00
  • 35111231f7 Merge pull request #40755 from amcasey/SpreadLimit Andrew Casey 2020-09-30 13:44:59 -07:00
  • 070cf1112f Remove duplicate comment (#40667) Tim van der Lippe 2020-09-30 17:41:31 +01:00
  • a301001420 Use correct program when checking for reexports from AutoImportProviderProject (#40843) Andrew Branch 2020-09-30 09:32:19 -07:00
  • f615e229d3 Fix default property assigned prototype (#40836) Nathan Shively-Sanders 2020-09-30 08:36:52 -07:00
  • df33dd593f fix(40441): show deprecated error for deprecated property in namespace (#40605) Alex T 2020-09-30 18:26:35 +03:00
  • 2428ade1a9 Match suffix _after_ prefix when inferring literals out of templates (#40841) Wesley Wigham 2020-09-29 16:34:58 -07:00
  • d261d4d510 Treat void-typed properties as optional optionalVoidProperties Ron Buckton 2020-09-28 18:08:06 -07:00
  • 2084404b8f Install playwright on demand (#40722) Andrew Branch 2020-09-29 12:22:04 -07:00
  • f645418833 Merge pull request #40783 from armanio123/FixCommentOnStartLine Armando Aguirre 2020-09-29 11:43:51 -07:00