mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 04:43:37 -05:00
Add new test cases
This commit is contained in:
1
tests/cases/projects/jsFileCompilation/SameNameDTsNotSpecified/a.d.ts
vendored
Normal file
1
tests/cases/projects/jsFileCompilation/SameNameDTsNotSpecified/a.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
declare var a: number;
|
||||
@@ -0,0 +1 @@
|
||||
var test1 = 10; // Shouldnt get compiled
|
||||
1
tests/cases/projects/jsFileCompilation/SameNameDTsNotSpecifiedWithJsExtensions/a.d.ts
vendored
Normal file
1
tests/cases/projects/jsFileCompilation/SameNameDTsNotSpecifiedWithJsExtensions/a.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
declare var a: number;
|
||||
@@ -0,0 +1 @@
|
||||
var test1 = 10; // Shouldnt get compiled
|
||||
@@ -0,0 +1 @@
|
||||
{ "compilerOptions": { "jsExtensions": [ "js" ] } }
|
||||
Reference in New Issue
Block a user