Commit cfc20a9
authored
[Transforms] Merging Master to Transforms on 06/21 (microsoft#9294)
* Initial support for globs in tsconfig.json
* Added caching, more tests
* Added stubs to ChakraHost interface for readDirectoryNames/readFileNames
* Fixed typos in comments
* Changed name of 'reduce' method added to FileSet
* Heavily revised implementation that relies on an updated 'readDirectory' API.
* more tests
* Minor update to shims.ts for forthcoming VS support for globs.
* Detailed comments for regular expressions and renamed some files.
* Comment cleanup
* Fixed new linter warnings
* Add upper limit for the program size, fix readDirectory for the symlink files
* Add comments
* CR feedback / Change upper limit / Add disableSizeLimit compiler option
* online and offline CR feedback
* Don't count current opened client file if it's TS file
* Speed up file searching
* Make language service optional for a project
* Fix failed tests
* Fix project updateing issue after editing config file
* Fixing linter and test errors
* Bringing back excludes error and fixing faulty test
* Fixing lint errors
* Passing regular expressions to native hosts
* Fix merging issues and multiple project scenario
* Refactoring
* add test and spit commandLineParser changes to another PR
* Fix microsoft#8523
* check the declaration and use order if both are not in module file
* Type guards using discriminant properties of string literal types
* Fix microsoft#9098: report missing function impelementation errors for merged classes and namespaces
* Narrow type in case/default sections in switch on discriminant property
* No implicit returns following exhaustive switch statements
* Narrow non-union types to ensure consistent results
* Add tests
* No Need to store dot token when parsing property access expression
* Added tests.
* Accepted baselines.
* Check tuple types when getting the type node's type.
* Accepted baselines.
* Fix microsoft#9173: clear out lib and types before creating a program in transpileModule
* Added tests.
* Accepted baselines.
* Always check type assertion types.
* Clear out unused compiler options when transpiling
* Accepted baselines.
* improve error message for extending interface
* accept baselines
* Use helper functions to simplify range tests
* Remove String, Number, and Boolean from TypeFlags.Falsy
* Add regression test
* Accept new baselines
* Allow property declarations in .js files
* Remove old test
* Do not use Object.assing in test
* Fix comment
* Refactor code to make if statements cheaper
* ignore casing when converting a source file path to relative path
* add tests & add branches for module interface
* Using baselines for transpile unittests (microsoft#9195)
* Conver to Transpile unittest to use baselines instead
* Add baselines
* Fix linting error
* use resolveEntityName to find interface
* add new tests for extends interface
* address code style
* Refactor navigation bar
* routine dom update
* Updating readDirectory for tsserverProjectSystem unit tests
* Array#map -> ts.map.
* Responding to PR feedback
* Add conditional index signature for Canvas2DContextAttributes (microsoft#9244)
* Add libcheck tests
* Add missing worker types
* Accept webworker baselines
* Classify `this` in parameter position as a keyword
* Adding more matchFiles test cases
* Use implicit boolean casts; it doesn't hurt performance
* Use getCanonicalFileName
* export interface used by other exported functions
* Fix from merging with master
* Update tests and baselines from merging with master
* Remove using dotToken as it is no longer needed
* Update baselines from removing dotToken
* Address PR: Add NodeEmitFlags to no indent when emit
* Address PR; and refactor setting NodeEmitFlags for createMemberAccessForPropertyName
* Update baselines1 parent 5f91b3c commit cfc20a9
133 files changed
Lines changed: 6477 additions & 1543 deletions
File tree
- src
- compiler
- transformers
- harness
- external
- lib
- server
- services
- tests
- baselines/reference
- transpile
- cases
- compiler
- conformance/types/union
- fourslash
- server
- unittests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
| |||
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | | - | |
| 183 | + | |
| 184 | + | |
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | 602 | | |
609 | 603 | | |
610 | 604 | | |
611 | 605 | | |
612 | 606 | | |
613 | 607 | | |
614 | 608 | | |
615 | | - | |
| 609 | + | |
616 | 610 | | |
617 | 611 | | |
618 | 612 | | |
| |||
623 | 617 | | |
624 | 618 | | |
625 | 619 | | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
626 | 653 | | |
627 | 654 | | |
628 | 655 | | |
| |||
631 | 658 | | |
632 | 659 | | |
633 | 660 | | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
642 | 664 | | |
643 | | - | |
| 665 | + | |
644 | 666 | | |
645 | 667 | | |
646 | 668 | | |
647 | 669 | | |
648 | 670 | | |
649 | 671 | | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
660 | 683 | | |
661 | | - | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
662 | 690 | | |
663 | 691 | | |
664 | 692 | | |
| |||
704 | 732 | | |
705 | 733 | | |
706 | 734 | | |
707 | | - | |
708 | 735 | | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
709 | 751 | | |
710 | 752 | | |
711 | 753 | | |
| |||
934 | 976 | | |
935 | 977 | | |
936 | 978 | | |
937 | | - | |
938 | | - | |
939 | | - | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
940 | 985 | | |
941 | 986 | | |
942 | 987 | | |
| |||
945 | 990 | | |
946 | 991 | | |
947 | 992 | | |
| 993 | + | |
948 | 994 | | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
949 | 1004 | | |
950 | | - | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
967 | 1009 | | |
968 | 1010 | | |
969 | 1011 | | |
| |||
0 commit comments