mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
When folder contains .d.ts as well as .js of same name and tsconfig doesnt contain any name
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"scenario": "Verify when same named .ts and .js file exists in the folder but no file is specified in tsconfig.json",
|
||||
"projectRoot": "tests/cases/projects/jsFileCompilation",
|
||||
"baselineCheck": true,
|
||||
"declaration": true,
|
||||
"project": "SameNameDTsNotSpecified",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"SameNameDTsNotSpecified/a.d.ts"
|
||||
],
|
||||
"emittedFiles": []
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"scenario": "Verify when same named .ts and .js file exists in the folder but no file is specified in tsconfig.json",
|
||||
"projectRoot": "tests/cases/projects/jsFileCompilation",
|
||||
"baselineCheck": true,
|
||||
"declaration": true,
|
||||
"project": "SameNameDTsNotSpecified",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"SameNameDTsNotSpecified/a.d.ts"
|
||||
],
|
||||
"emittedFiles": []
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"scenario": "Verify when same named .ts and .js file exists in the folder but no file is specified in tsconfig.json",
|
||||
"projectRoot": "tests/cases/projects/jsFileCompilation",
|
||||
"baselineCheck": true,
|
||||
"declaration": true,
|
||||
"project": "SameNameDTsNotSpecified"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
declare var a: number;
|
||||
@@ -0,0 +1 @@
|
||||
var test1 = 10; // Shouldnt get compiled
|
||||
Reference in New Issue
Block a user