Commit Graph

  • ada4b3d4d8 Fix var emit order for converted loops Ron Buckton 2017-05-05 17:38:23 -07:00
  • 681f33ef4a Merge pull request #15560 from Microsoft/tokenRange Andy 2017-05-05 17:23:40 -07:00
  • fe414a2823 Ensure we get the correct symbol for nodes, clean up Ron Buckton 2017-05-05 17:22:56 -07:00
  • e43377db55 Better qualified name handling Arthur Ozga 2017-05-05 17:12:58 -07:00
  • 788b2a3dd7 Wip - remove freshness flag from jsx attributes Yui T 2017-05-05 16:36:02 -07:00
  • 6a175321bf Address comments: simplify, dedupe and clean up Nathan Shively-Sanders 2017-05-05 15:09:54 -07:00
  • 818bfdcd88 accessibility check Arthur Ozga 2017-05-05 15:08:02 -07:00
  • a1d2049c29 convert type format flags Arthur Ozga 2017-05-05 14:48:20 -07:00
  • b8bb0c22f3 emit type parameter's default Arthur Ozga 2017-05-05 14:47:57 -07:00
  • b39c319f0c Fix lint Nathan Shively-Sanders 2017-05-05 13:48:45 -07:00
  • a5bef216ae Use symbolToName instead of copying Arthur Ozga 2017-05-05 13:47:51 -07:00
  • 573040f0cf Convert Declaration to union, not type hierarchy Nathan Shively-Sanders 2017-05-05 13:47:28 -07:00
  • d2bda47e80 fix inTypeAlias logic Arthur Ozga 2017-05-05 12:39:47 -07:00
  • fcb0f46178 Tune the completion list for static and private modifiers Do not show inherited members in completion for when writing private member Show only static inherited members when writing static member Sheetal Nandi 2017-05-04 17:44:34 -07:00
  • 37a2cddabc Give the class element completion on typing keywords like public, private, readonly Also when name of the function is location, make sure we are actually looking at the same symbol before using the declaration to get signature to display Sheetal Nandi 2017-05-01 11:45:18 -07:00
  • b3d793608d Completion list for a class extending another class should contain members from base class Handles #7158 Sheetal Nandi 2017-04-27 15:46:07 -07:00
  • fc6186389e Merge branch 'dynamicNames' into symbolLiterals Ron Buckton 2017-05-05 11:05:26 -07:00
  • 1774c67afa parens and this param for function type Arthur Ozga 2017-05-05 11:00:00 -07:00
  • c0adf99f35 Add aliasing test Arthur Ozga 2017-05-05 10:54:53 -07:00
  • 57674dd242 Emit dynamic names for object literal types Ron Buckton 2017-05-04 18:23:17 -07:00
  • d483df94ef Merge pull request #15600 from mjbvz/log-when-types-registry-is-updated Mohamed Hegazy 2017-05-05 10:43:51 -07:00
  • d94d490647 Updates tests and baselines Yui T 2017-05-05 10:05:50 -07:00
  • 03da13c2f8 Update baselines Nathan Shively-Sanders 2017-05-04 17:05:09 -07:00
  • 428fbbfb50 Address PR comments Nathan Shively-Sanders 2017-05-04 17:04:37 -07:00
  • b9f85fdfbb Update baselines Nathan Shively-Sanders 2017-05-02 13:38:53 -07:00
  • a1c92eb8b0 Declare synthetic var for class extends expression Nathan Shively-Sanders 2017-05-02 13:36:01 -07:00
  • d36175b1e8 Remove some redundant code in createJsxAttributesTypeFromAttributesProperty Andy Hanson 2017-05-05 08:51:18 -07:00
  • 5b972b44ff Add tests and baselines Yui T 2017-05-05 08:47:52 -07:00
  • 4303a294f9 Merge pull request #15537 from Microsoft/emit-declaration-of-class-extending-intersection Nathan Shively-Sanders 2017-05-05 08:32:56 -07:00
  • 1511c2eda7 Merge pull request #15593 from Microsoft/jsdoctagnames Andy 2017-05-05 07:24:12 -07:00
  • fec3dc215a Address PR Yui T 2017-05-04 22:16:23 -07:00
  • e44d419c90 Add Log for When Typings Installer Finishes Updating the Types Registry Matt Bierner 2017-05-04 20:04:46 -07:00
  • d103504ba6 Update tests anad baselines Kanchalai Tanglertsampan 2017-05-04 17:12:52 -07:00
  • f619d5add4 Allow excess property in spread attributes but also check if any explicitly specified attributes are correct Kanchalai Tanglertsampan 2017-05-04 17:12:39 -07:00
  • 58e72fe1b6 Update baselines Nathan Shively-Sanders 2017-05-04 17:05:09 -07:00
  • efe502e609 Address PR comments Nathan Shively-Sanders 2017-05-04 17:04:37 -07:00
  • 83b5a75016 Add freshness to unique symbol types Ron Buckton 2017-05-04 16:22:19 -07:00
  • aceadeb04b Update baselines Nathan Shively-Sanders 2017-05-04 16:13:32 -07:00
  • d35f6c3581 getNameOfDeclaration uniformly, including JS decls Nathan Shively-Sanders 2017-05-04 16:12:54 -07:00
  • 384d54603f Basic parens handling and stubbed TypeFormatFlags Arthur Ozga 2017-05-04 15:27:50 -07:00
  • 96aca4c7d0 Merge pull request #13540 from Microsoft/metadataReferences Sheetal Nandi 2017-05-04 15:04:13 -07:00
  • d8ae9c0e36 Early support for unique symbol type Ron Buckton 2017-05-04 14:40:03 -07:00
  • ae06e12238 Wip-fixing spread type Yui T 2017-05-04 14:39:51 -07:00
  • 705774e707 Remove tests that depended on exact number of jsdoc tag names Andy Hanson 2017-05-04 14:38:06 -07:00
  • 7dddcb816f Deduplicate jsDocTagNames and sort alphabetically Andy Hanson 2017-05-04 14:16:09 -07:00
  • 7fe1aba82a Merge pull request #15557 from Microsoft/unused-type-parameter Andy 2017-05-04 14:15:16 -07:00
  • 601aa8ea8e Update baselines Ron Buckton 2017-05-04 13:33:28 -07:00
  • e3d54c3b47 Add check for tslib __await helper Ron Buckton 2017-05-04 13:09:35 -07:00
  • a9ad8532d7 __asyncDelegator cleanup Ron Buckton 2017-05-02 15:00:56 -07:00
  • 3d09bc4734 Switch to __await sentinel, better support for return values Ron Buckton 2017-05-02 12:49:34 -07:00
  • 2dece3938d Fix over agressive async delegation Ron Buckton 2017-05-01 18:05:50 -07:00
  • 500dd16bc1 Merge pull request #15590 from Microsoft/fix15471 Ron Buckton 2017-05-04 13:59:54 -07:00
  • 6f357e5a6c Update baselines Ron Buckton 2017-05-04 13:33:28 -07:00
  • cbeb11eabf Add check for tslib __await helper Ron Buckton 2017-05-04 13:09:35 -07:00
  • 53c1caaf60 Test:index constraint check on js class expression Nathan Shively-Sanders 2017-05-04 10:12:49 -07:00
  • a17f16ded8 Add JS declaration to index constraint check error reporting Nathan Shively-Sanders 2017-05-04 10:11:25 -07:00
  • d2bdfbbf0a Merge pull request #15586 from Microsoft/fix-index-constraint-check-for-js-class-exprs Nathan Shively-Sanders 2017-05-04 12:55:55 -07:00
  • 398d3aaf6c Symbol table for homomorphic mapped type: Don't needlessly create twice Andy Hanson 2017-05-04 12:45:15 -07:00
  • d9b459bc3d Merge pull request #15490 from SaschaNaz/allowArguments Mohamed Hegazy 2017-05-04 12:27:17 -07:00
  • e642691526 Merge pull request #15521 from Microsoft/fix15471 Ron Buckton 2017-05-04 11:30:26 -07:00
  • a6dfd66fc1 Update tests Anders Hejlsberg 2017-05-04 10:20:13 -07:00
  • 4123068f19 Only get apparent type when constraint includes nullable types Anders Hejlsberg 2017-05-04 10:20:04 -07:00
  • 1b7d3bfa07 Merge branch 'master' into master-dynamicImport Kanchalai Tanglertsampan 2017-05-04 10:14:32 -07:00
  • c1b180d43a Merge pull request #15577 from mleko/master Mohamed Hegazy 2017-05-04 10:13:21 -07:00
  • 3e85ac0627 Test:index constraint check on js class expression Nathan Shively-Sanders 2017-05-04 10:12:49 -07:00
  • 49fd1ad80b Add JS declaration to index constraint check error reporting Nathan Shively-Sanders 2017-05-04 10:11:25 -07:00
  • 8d8c4c2990 Reuse code from getTypeReferenceType Andy Hanson 2017-05-04 08:42:56 -07:00
  • ab7e59649b Remove @types/gulp-typescript dependency Daniel Król 2017-05-04 09:19:07 +02:00
  • 238067eb3b Add tests Anders Hejlsberg 2017-05-03 21:28:17 -07:00
  • 3d069f7a54 New behavior only for type variables with nullable constraints Anders Hejlsberg 2017-05-03 21:28:03 -07:00
  • e1c97e104f Merge pull request #15568 from Microsoft/master-15455 Yui 2017-05-03 16:12:55 -07:00
  • 9eaf40bded Merge branch 'master' into spelling-correction Nathan Shively-Sanders 2017-05-03 15:34:32 -07:00
  • 0c10098c66 Fix case of suggestion blacklist. Nathan Shively-Sanders 2017-05-03 15:28:08 -07:00
  • b1cfee2070 Add tests and baselines Kanchalai Tanglertsampan 2017-05-01 13:19:06 -07:00
  • 1e806cea01 For React Component class, we fill in missing type parameter and instantiate the constructor signature with the new type arguments. Kanchalai Tanglertsampan 2017-05-01 11:53:13 -07:00
  • 975bc765c0 Merge pull request #15566 from Microsoft/master-fix15469 Yui 2017-05-03 15:08:00 -07:00
  • 34481640c5 Obtain apparent type before narrowing type variables Anders Hejlsberg 2017-05-03 14:52:28 -07:00
  • 5a7e967628 Blacklist some built-ins and improve max cutoff Nathan Shively-Sanders 2017-05-03 14:48:23 -07:00
  • 7282b9f0ce make internal Arthur Ozga 2017-05-03 14:12:24 -07:00
  • 2a7398b12a Include primitives in type-as-value error message Nathan Shively-Sanders 2017-05-03 14:04:09 -07:00
  • f3a3198bec Add tests and update baselines Yui T 2017-05-03 13:30:30 -07:00
  • 6d4f83f1b2 Update baseline Yui T 2017-05-02 20:54:42 -07:00
  • 1125657210 Don't stop checking other attributes even though we see spread type. This is so that things are correctly marked as reference and type-checked Yui T 2017-05-02 20:54:27 -07:00
  • f43af5ef91 Merge pull request #15548 from Microsoft/release-fix15469 Yui 2017-05-03 13:41:09 -07:00
  • 0b68b934ef respond to comments Arthur Ozga 2017-05-03 13:30:53 -07:00
  • b77c0ad741 Add tests and update baselines Yui T 2017-05-03 13:30:30 -07:00
  • 5eff8c206b revert core changes Arthur Ozga 2017-05-03 13:29:24 -07:00
  • d38ee1eaf7 restore startsWith Arthur Ozga 2017-05-03 13:26:24 -07:00
  • 69e7841cda revert noop change Arthur Ozga 2017-05-03 13:22:01 -07:00
  • 5ce32ccbe3 factor out helpers + cleanup startsWith and friends Arthur Ozga 2017-05-03 13:13:28 -07:00
  • 99c18744d2 Add isCallOrNewExpression helper Andy Hanson 2017-05-03 10:57:57 -07:00
  • 9bf5209632 Lower allowed length difference for suggestions Nathan Shively-Sanders 2017-05-03 10:46:00 -07:00
  • 4877343538 Reduce max number of spelling suggestions to 10 Nathan Shively-Sanders 2017-05-03 10:10:13 -07:00
  • c61a371e62 Make TokenRange an interface and remove ITokenAccess delegation Andy Hanson 2017-05-03 10:06:55 -07:00
  • ee1edf0421 Lower allowed levenshtein distance for suggestions Nathan Shively-Sanders 2017-05-03 09:42:19 -07:00
  • ac7429535e Mark type arguments as used even if used in an invalid way Andy Hanson 2017-05-03 08:05:40 -07:00
  • c6ece969f0 Update baseline Yui T 2017-05-02 20:54:42 -07:00
  • 1f19fd69b1 Don't stop checking other attributes even though we see spread type. This is so that things are correctly marked as reference and type-checked Yui T 2017-05-02 20:54:27 -07:00
  • 64fd857b0d fix symbol display for computed properties Ron Buckton 2017-05-02 17:34:08 -07:00
  • f2e5fa5bd1 Merge branch 'master' into atTypesPrefixAndImportSuffix Arthur Ozga 2017-05-02 17:29:32 -07:00