When folder contains .d.ts as well as .js of same name and tsconfig doesnt contain any name

This commit is contained in:
Sheetal Nandi
2015-09-16 12:41:44 -07:00
parent 70d3de4668
commit 0f73c1618c
6 changed files with 33 additions and 0 deletions
@@ -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,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