diff --git a/lib/main.ts b/lib/main.ts index c2aebde15..4890837d8 100644 --- a/lib/main.ts +++ b/lib/main.ts @@ -1,4 +1,8 @@ // This is only for the benefit of the LanguageClient. +// @ts-ignore import type Deno from '../vendor/deno/types.d.ts'; -console.log(Deno.args); +// @ts-ignore +import test from './other.ts'; + +test(Deno.args); diff --git a/lib/other.ts b/lib/other.ts new file mode 100644 index 000000000..247226c62 --- /dev/null +++ b/lib/other.ts @@ -0,0 +1,3 @@ +export default function(args: Array) { + console.log(...args); +} diff --git a/tsconfig.json b/tsconfig.json index e69de29bb..e1529ad3c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -0,0 +1,3 @@ +{ + "include": ["src/**/*.ts", "vendor/deno/types.d.ts"] +}