diff --git a/some-js-file.js b/some-js-file.js new file mode 100644 index 0000000..e6c4305 --- /dev/null +++ b/some-js-file.js @@ -0,0 +1 @@ +export const someVariable = 1; diff --git a/some-ts-file.ts b/some-ts-file.ts new file mode 100644 index 0000000..82e200a --- /dev/null +++ b/some-ts-file.ts @@ -0,0 +1,3 @@ +import { someVariable } from "./some-js-file"; + +console.log(someVariable); diff --git a/tsconfig.json b/tsconfig.json index cccdf47..d19adeb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,10 @@ { "compilerOptions": { - "noEmit": true - } -} \ No newline at end of file + "allowJs": true, + "strict": true, + "noEmit": true, + }, + "include": [ + "**/*.ts", + ], +}