Commit Graph

16824 Commits

Author SHA1 Message Date
Kanchalai Tanglertsampan
6080c3efd6 Remove error with noImplicitAny 2017-03-28 12:38:41 -07:00
Kanchalai Tanglertsampan
486dc91f76 Change comment to jsdoc 2017-03-27 09:47:23 -07:00
Kanchalai Tanglertsampan
61f199e5f2 Update tests 2017-03-24 15:32:16 -07:00
Kanchalai Tanglertsampan
640f2c7371 Error when dynamic import has type arguments 2017-03-24 15:30:57 -07:00
Kanchalai Tanglertsampan
265d0c020b Fix where we report noImplicitAny error in dynamic import 2017-03-24 13:24:50 -07:00
Kanchalai Tanglertsampan
e1ba8553b6 Add declaration emit test and test to make sure we don't give dynamic import implicit "use strict" 2017-03-23 11:29:45 -07:00
Kanchalai Tanglertsampan
c62f4f5888 Update tests 2017-03-22 15:10:19 -07:00
Kanchalai Tanglertsampan
c798489eb1 Move error report of incorrect grammar in dynamic import to checker 2017-03-22 15:04:17 -07:00
Kanchalai Tanglertsampan
91d9ecf3e2 Simply parse dynamic import as call-expression.... 2017-03-22 11:10:47 -07:00
Kanchalai Tanglertsampan
2332ea388e small fix on indentation 2017-03-21 15:11:21 -07:00
Kanchalai Tanglertsampan
15ca0af646 Add tests 2017-03-21 15:08:15 -07:00
Kanchalai Tanglertsampan
871d6095ef Report an error if dynamic import specifier is not assigable to type string 2017-03-21 15:08:00 -07:00
Kanchalai Tanglertsampan
f04f7b5afd Add comment for comparable relationship 2017-03-21 14:18:12 -07:00
Kanchalai Tanglertsampan
8fd660bcba Report no implicit error when we return Promise<any> 2017-03-21 13:11:29 -07:00
Kanchalai Tanglertsampan
015f71b5fd Issue error when use with ES2015 2017-03-20 15:34:06 -07:00
Kanchalai Tanglertsampan
e0192168f7 Use emitFlags to indicate that the subtree contains dynamic import 2017-03-20 14:01:50 -07:00
Yui T
1af1005636 Correctly bind import call expression 2017-03-17 16:58:51 -07:00
Yui T
804ab2c0df Remove duplicat es2018 tests 2017-03-17 10:54:06 -07:00
Yui T
dbac66c756 Update baselines from adding es2018 value into moduleKind 2017-03-17 10:50:32 -07:00
Kanchalai Tanglertsampan
a77f0d2b1a Do not collect imports in parser as it makes it very hard for incremental parsing 2017-03-16 17:47:10 -07:00
Kanchalai Tanglertsampan
6db02e7438 Fix up incorrect system emit 2017-03-16 14:01:37 -07:00
Yui T
86c7129027 wip-system emit 2017-03-14 20:13:32 -07:00
Kanchalai Tanglertsampan
9864b4e1ff Emit import callExpression for UMD and AMD 2017-03-14 14:41:49 -07:00
Kanchalai Tanglertsampan
a84645c63e Add more tests for emitting of es2018 module-kind 2017-03-14 14:41:14 -07:00
Kanchalai Tanglertsampan
be375cb786 Fix missing import call expression in function and class declaration 2017-03-14 12:26:20 -07:00
Yui T
ffbb445148 wip-Emit import call expression for commonjs 2017-03-14 10:31:30 -07:00
Yui T
369af08e27 Change filename to indicate it uses module kind of es2018 2017-03-14 10:29:55 -07:00
Yui T
20293b0ece Fix up error when we can't find promise type in import call expression 2017-03-14 09:57:05 -07:00
Kanchalai Tanglertsampan
26f9a52e92 Add initial tests 2017-03-13 17:07:13 -07:00
Kanchalai Tanglertsampan
ddf5ed944b Emit dynamic import when module kind is es2018 2017-03-13 15:12:10 -07:00
Kanchalai Tanglertsampan
18c826b3aa Add new value "es2018" for module kind 2017-03-13 14:48:40 -07:00
Kanchalai Tanglertsampan
7340d84a02 Rename importcall to importCallExpression 2017-03-13 14:47:54 -07:00
Yui T
bd50ccfa11 Merge branch 'master-dynamicImport' of https://github.com/Microsoft/TypeScript into master-dynamicImport 2017-03-10 22:08:43 -08:00
Yui T
126fb640db Wip-type check dynamic import 2017-03-10 22:07:08 -08:00
Kanchalai Tanglertsampan
6933b581c0 Wip-type check dynamic import 2017-03-10 16:27:22 -08:00
Yui T
827abb3576 Parse import call and use collect its specifier 2017-03-09 22:30:06 -08:00
Yui T
e7b3a1514e Merge branch 'master' into master-dynamicImport 2017-03-09 19:11:25 -08:00
Yui
940d165b0d Merge pull request #14212 from Microsoft/master-12989
[Master] Fix 12989:  completion in JSX opening-like element when tag name is a property access expression
2017-03-09 18:42:36 -08:00
Arthur Ozga
8817703a15 Merge pull request #14545 from aozgaa/docCommentPrefix
Make docComment template indent whitespace-only
2017-03-09 16:13:29 -08:00
Kanchalai Tanglertsampan
330f7bf96c Correctly parse import() 2017-03-09 15:55:09 -08:00
Vladimir Matveev
77c2a1d20d allow passing --logFile and --logVerbosity parameter to tsserver (#14566) 2017-03-09 15:25:44 -08:00
Anders Hejlsberg
f2c487ed11 Merge pull request #14562 from Microsoft/fixLookupTypeRelation
Fix indexed access type relations
2017-03-09 10:51:29 -10:00
Anders Hejlsberg
4b4211f38b Add repro 2017-03-09 11:57:56 -08:00
Anders Hejlsberg
3fb364981b Accept new baselines 2017-03-09 11:50:30 -08:00
Anders Hejlsberg
014aeb3fd3 Use immediate constraint instead of base constraint in T[K] relations 2017-03-09 11:50:07 -08:00
Mohamed Hegazy
456c397a37 Merge pull request #14553 from Microsoft/fixBuildBreak
Add --lib es6 to @types/node dependent targets
2017-03-09 09:05:28 -08:00
Mohamed Hegazy
63cbe8edbf Add es6 to buildProtocol 2017-03-08 23:10:14 -08:00
Mohamed Hegazy
81c0bd50ab Add --lib es6 to @types/node dependent targets 2017-03-08 23:03:30 -08:00
Mohamed Hegazy
0fb415ac61 Merge pull request #14492 from Microsoft/anyInferences
Set inference result to `any` instead of `{}` for .js files if generic type parameter inference found no candidates
2017-03-08 16:15:50 -08:00
Kanchalai Tanglertsampan
ca0816710a Wip-parsing import call expression 2017-03-08 15:53:38 -08:00