TypeScript/tests/cases/conformance/externalModules
Titian Cernicova-Dragomir 2484210a00
Gh 41788 incorrect output for esprivate with nested class in esnext (#42663)
* If target:esnext,then useDefineForClassFields: true will now be the default.

* Added error if a private identifier is used in a static a initializer if target:ESNext and useDefineForClassFields:false.

* Added test for new useDefineForClassFields default and error message.

* Fixed tests after changing the default of useDefineForClassFields to true for target esnext

* Fixed code review suggestions.

* Updated error message.

* Added missing static check for the containing property. Fixed other code review issues.
2021-04-07 08:23:16 -07:00
..
es6 fix export class declare with name object targeting es5 (#17494) 2018-05-24 18:16:38 +08:00
esnext fix export class declare with name object targeting es5 (#17494) 2018-05-24 18:16:38 +08:00
typeOnly Gh 41788 incorrect output for esprivate with nested class in esnext (#42663) 2021-04-07 08:23:16 -07:00
amdImportAsPrimaryExpression.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
amdImportNotAsPrimaryExpression.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
asiPreventsParsingAsAmbientExternalModule01.ts Added tests. 2015-06-02 15:42:24 -07:00
asiPreventsParsingAsAmbientExternalModule02.ts Added tests. 2015-06-02 15:42:24 -07:00
circularReference.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
commonJSImportAsPrimaryExpression.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
commonJsImportBindingElementNarrowType.ts Added BindingElement to isSomeImportDeclaration (#43387) 2021-03-31 18:18:16 -07:00
commonJSImportNotAsPrimaryExpression.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
duplicateExportAssignments.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportAmbientClassNameWithObject.ts fix export class declare with name object targeting es5 (#17494) 2018-05-24 18:16:38 +08:00
exportAssignDottedName.ts Support for 'export default' with expressions 2015-02-25 16:03:03 -08:00
exportAssignImportedIdentifier.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportAssignmentAndDeclaration.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportAssignmentCircularModules.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportAssignmentConstrainedGenericType.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportAssignmentGenericType.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportAssignmentMergedInterface.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportAssignmentMergedModule.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportAssignmentOfExportNamespaceWithDefault.ts Fix double alias of complex export/import/default/namespace combination 2020-10-29 18:42:36 -07:00
exportAssignmentTopLevelClodule.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportAssignmentTopLevelEnumdule.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportAssignmentTopLevelFundule.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportAssignmentTopLevelIdentifier.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportAssignNonIdentifier.ts Support for 'export default' with expressions 2015-02-25 16:03:03 -08:00
exportAssignTypes.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportClassNameWithObjectAMD.ts fix export class declare with name object targeting es5 (#17494) 2018-05-24 18:16:38 +08:00
exportClassNameWithObjectCommonJS.ts fix export class declare with name object targeting es5 (#17494) 2018-05-24 18:16:38 +08:00
exportClassNameWithObjectSystem.ts fix export class declare with name object targeting es5 (#17494) 2018-05-24 18:16:38 +08:00
exportClassNameWithObjectUMD.ts fix export class declare with name object targeting es5 (#17494) 2018-05-24 18:16:38 +08:00
exportDeclaredModule.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
exportDefaultClassNameWithObject.ts fix export class declare with name object targeting es5 (#17494) 2018-05-24 18:16:38 +08:00
exportNonInitializedVariablesAMD.ts Adds tests 2015-05-13 10:59:16 +08:00
exportNonInitializedVariablesCommonJS.ts Adds tests 2015-05-13 10:59:16 +08:00
exportNonInitializedVariablesES6.ts Adds tests 2015-05-13 10:59:16 +08:00
exportNonInitializedVariablesSystem.ts Adds tests 2015-05-13 10:59:16 +08:00
exportNonInitializedVariablesUMD.ts Adds tests 2015-05-13 10:59:16 +08:00
exportNonLocalDeclarations.ts Issue better error for exporting primitive type (#36424) 2020-01-27 08:11:21 -08:00
exportNonVisibleType.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
globalAugmentationModuleResolution.ts Merge release-2.1 into master (#12157) 2016-11-10 14:28:34 -08:00
importImportOnlyModule.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
importNonExternalModule.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
importNonStringLiteral.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
importsImplicitlyReadonly.ts Adding tests 2016-01-25 11:46:23 -08:00
importTsBeforeDTs.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
initializersInDeclarations.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
invalidSyntaxNamespaceImportWithAMD.ts Add tests 2017-03-29 13:08:21 -07:00
invalidSyntaxNamespaceImportWithCommonjs.ts Add tests 2017-03-29 13:08:21 -07:00
invalidSyntaxNamespaceImportWithSystem.ts Add tests 2017-03-29 13:08:21 -07:00
moduleResolutionWithExtensions.ts [Transforms] Merge master 08/09 (#10263) 2016-08-26 15:51:10 -07:00
moduleScoping.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
multipleExportDefault1.ts Add tests and baselines 2016-08-09 15:55:26 -07:00
multipleExportDefault2.ts Add tests and baselines 2016-08-09 15:55:26 -07:00
multipleExportDefault3.ts Add tests and baselines 2016-08-09 15:55:26 -07:00
multipleExportDefault4.ts Add tests and baselines 2016-08-09 15:55:26 -07:00
multipleExportDefault5.ts Add tests and baselines 2016-08-09 15:55:26 -07:00
multipleExportDefault6.ts Add tests and baselines 2016-08-09 15:55:26 -07:00
nameDelimitedBySlashes.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
nameWithFileExtension.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
nameWithRelativePaths.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
reexportClassDefinition.ts Test cases that address https://github.com/Microsoft/TypeScript/issues/4288 2015-08-12 15:34:03 -06:00
relativePathMustResolve.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
relativePathToDeclarationFile.ts Fix fallback to classic resolution 2016-02-12 15:40:47 -08:00
topLevelAmbientModule.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
topLevelAwait.1.ts Support top level "for await of" (#37424) 2021-01-25 13:40:45 -08:00
topLevelAwait.2.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwait.3.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwaitErrors.1.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwaitErrors.2.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwaitErrors.3.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwaitErrors.4.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwaitErrors.5.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwaitErrors.6.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwaitErrors.7.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwaitErrors.8.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwaitErrors.9.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwaitErrors.10.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwaitErrors.11.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwaitErrors.12.ts Reparse top level 'await' in modules (#39084) 2020-06-18 23:43:18 -07:00
topLevelAwaitNonModule.ts Support top level "for await of" (#37424) 2021-01-25 13:40:45 -08:00
topLevelFileModule.ts Update node resolution tests 2015-09-15 11:43:28 -07:00
topLevelFileModuleMissing.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
topLevelModuleDeclarationAndFile.ts Update node resolution tests 2015-09-15 11:43:28 -07:00
typesOnlyExternalModuleStillHasInstance.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
umd-augmentation-1.ts Add tests for each variant of UMD augmentation 2016-03-09 14:35:03 -08:00
umd-augmentation-2.ts Add tests for each variant of UMD augmentation 2016-03-09 14:35:03 -08:00
umd-augmentation-3.ts Add tests for each variant of UMD augmentation 2016-03-09 14:35:03 -08:00
umd-augmentation-4.ts Add tests for each variant of UMD augmentation 2016-03-09 14:35:03 -08:00
umd-errors.ts UMD support 2016-03-09 10:08:24 -08:00
umd1.ts UMD support 2016-03-09 10:08:24 -08:00
umd2.ts UMD support 2016-03-09 10:08:24 -08:00
umd3.ts UMD support 2016-03-09 10:08:24 -08:00
umd4.ts UMD support 2016-03-09 10:08:24 -08:00
umd5.ts UMD support 2016-03-09 10:08:24 -08:00
umd6.ts Support UMD when targeted module uses export = 2016-03-09 10:08:24 -08:00
umd7.ts Add test for function export 2016-03-09 16:24:54 -08:00
umd8.ts Allow type and NS references to UMD globals from modules 2016-09-14 15:56:43 -07:00
umd9.ts Add test 2019-04-08 09:46:47 -07:00