Commit Graph

6656 Commits

Author SHA1 Message Date
Mohamed Hegazy
884dff03ba Use relative file name when reporting errors 2015-11-03 14:27:26 -08:00
Ryan Cavanaugh
dbf5762156 SFCs for JSX WIP 2015-11-03 13:05:11 -08:00
Daniel Rosenwasser
b9368a955c Fixed comment. 2015-11-03 12:55:18 -08:00
Daniel Rosenwasser
2be7f4f27b Skip files with no-default-lib when '--skipDefaultLibCheck' and '--noLib' are used. 2015-11-03 12:53:31 -08:00
Martin Všetička
30499e7ee5 Support '/dev/stdout' as a valid '--out' parameter 2015-11-03 08:05:49 +01:00
Wesley Wigham
1baea88246 shorten function 2015-11-02 17:04:59 -08:00
Daniel Rosenwasser
83c33551ae Added 'README.md' files to 'lib' and 'src/lib'. 2015-11-02 16:57:57 -08:00
Wesley Wigham
6f9702112f Merge branch 'master' into out-module-concat 2015-11-02 16:57:07 -08:00
Wesley Wigham
265fb518a8 feedback from CR 2015-11-02 16:54:12 -08:00
Daniel Rosenwasser
a44a340449 Fix description of '--pretty'. 2015-11-02 16:40:35 -08:00
Daniel Rosenwasser
ce24bcb2ee ; 2015-11-02 15:45:57 -08:00
Daniel Rosenwasser
32b259eb84 Merge branch 'master' into iFeelPrettyErr 2015-11-02 15:31:23 -08:00
Daniel Rosenwasser
e5f105367a Merge branch 'master' into iFeelPrettyErr 2015-11-02 15:28:42 -08:00
Daniel Rosenwasser
40f10abe01 Forget about tty detection. It won't work in build tools. 2015-11-02 15:23:15 -08:00
Vladimir Matveev
fb15e9c7c0 Merge pull request #4788 from Microsoft/reachabilityChecks
initial revision of reachability checks
2015-11-02 14:55:19 -08:00
Daniel Rosenwasser
654cbd9779 Just name the option 'pretty' for now. 2015-11-02 13:20:48 -08:00
Daniel Rosenwasser
4219c5ffec Added colors to diagnostic types, addressed some CR feedback. 2015-11-02 13:12:19 -08:00
Wesley Wigham
6de5221dcd dont mutate 2015-11-02 12:53:27 -08:00
Mohamed Hegazy
3e631449a1 Merge pull request #5450 from sarod/allow-comments-tsconfig
Allow comments in tsconfig.json
2015-11-02 11:46:44 -08:00
Yui
f503169f8c Merge pull request #5472 from MartyIX/issue-5183
Fix copyright comments are not preserved when generating d.ts files
2015-11-02 11:21:47 -08:00
Nathan Shively-Sanders
cc64210519 Merge pull request #5474 from Microsoft/forbid-this-as-constructor-parameter-type
Forbid this as constructor parameter type
2015-11-02 11:04:36 -08:00
Wesley Wigham
d48a4f0cf1 fix nits 2015-11-02 10:48:59 -08:00
Martin Vseticka
1703972dd2 Preserve copyright comments when generating d.ts files 2015-11-02 17:07:16 +01:00
Sébastien Arod
638e4b758a Use regex for repacing comments content.
Use space for indents
2015-11-01 15:31:16 +01:00
Sébastien Arod
00b389d477 New commit using TS scanner.
This commit uses TS scanner and replaces comments token text
by whitespaces to preserve orginal positions.
2015-10-31 23:17:46 +01:00
Nathan Shively-Sanders
201266b97f Switch to isNodeDescendantOf 2015-10-31 12:42:04 -07:00
Daniel Rosenwasser
48c2bb1c50 Fixed 'tsconfig.json' ordering. 2015-10-30 18:10:31 -07:00
Daniel Rosenwasser
fa2e614f9f Merge branch 'master' into iFeelPrettyErr 2015-10-30 18:10:05 -07:00
Wesley Wigham
f06627f780 prevent absolutre paths from leaking through error baselines 2015-10-30 16:35:31 -07:00
Daniel Rosenwasser
90bac23be4 Always generate an identifier in a for-of loop. 2015-10-30 15:59:16 -07:00
Sheetal Nandi
51caf1a9ee Use of FileMap instead of Map as per PR feedback 2015-10-30 15:54:31 -07:00
Wesley Wigham
70fba0b820 Merge branch 'master' into out-module-concat 2015-10-30 15:47:35 -07:00
Sheetal Nandi
62d4fd6d35 Take pr feedback into account 2015-10-30 15:06:23 -07:00
Sheetal Nandi
2b582a0b71 Simplifty declaration emitter logic by using forEachExpectedEmitFile 2015-10-30 15:04:46 -07:00
Nathan Shively-Sanders
6aecd43d9a Fix isConstructorParameter 2015-10-30 15:03:44 -07:00
Wesley Wigham
95a3fc7143 feedback form pr, new baselines 2015-10-30 14:52:45 -07:00
Nathan Shively-Sanders
c82d4a61e3 Forbid 'this' as constructor parameter type 2015-10-30 14:01:06 -07:00
Sheetal Nandi
06bf08c17f Simplify logic to get declaration diagnostis 2015-10-30 13:43:52 -07:00
Sheetal Nandi
c6d54d6ae6 Simplify verification of emit file paths using utility to iterate over each emit file
This also makes sure we dont emit --out or --outFile if there are no files that can go in that file(non module and non declaration files)
2015-10-30 13:22:23 -07:00
Sheetal Nandi
a0318c7b63 Create a utility to iterate over each emitFileName and use it in emitter
TODO: declaration emitter to use this utility
TODO: emit file name compiler option verification to use this utility
2015-10-30 12:54:30 -07:00
Sheetal Nandi
9f337bc681 Merge branch 'master' into jsFileCompilation 2015-10-30 12:16:50 -07:00
Sheetal Nandi
4d3457ca4d Some refactoring as per PR feedback 2015-10-30 12:03:59 -07:00
Sheetal Nandi
67bed265b7 Since js extensions are not user specified, no need to check if source map file will overwrite input file 2015-10-30 11:57:20 -07:00
Sheetal Nandi
6ea74ae7f1 Update the error messages as per PR feedback 2015-10-30 11:56:44 -07:00
Sheetal Nandi
daba901619 Report error if --allowJs option is used along with --declaration 2015-10-30 11:50:07 -07:00
Sheetal Nandi
94a647b72b Do not emit declarations for javascript files 2015-10-30 11:36:39 -07:00
Wesley Wigham
6c812420ec Merge branch 'master' into out-module-concat 2015-10-30 11:27:34 -07:00
Nathan Shively-Sanders
16f69daf10 Merge pull request #5469 from Microsoft/improve-constructor-object-return-error-message
Improve constructor object return error message
2015-10-30 10:17:47 -07:00
Vladimir Matveev
83919f0a3e addressed PR feedback: renamed 'toRelativePath' to 'convertToRelativePath' 2015-10-30 09:52:14 -07:00
Sheetal Nandi
b217b8b620 Merge branch 'master' into jsFileCompilation 2015-10-30 09:34:32 -07:00