Skip to content

Commit 79273b3

Browse files
authored
Disable skiplibcheck (#27)
1 parent 2cd828d commit 79273b3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/test-utils.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,14 @@ export function describeForEachLuaTarget(name: string, action: (luaTarget: LuaTa
2222
export function tstl(luaTarget: LuaTarget, input: string): string {
2323
// Resolve the path to the lua version delcaration file we want to test
2424
const typesPath = path.resolve(__dirname, `../${luaTarget.toLowerCase()}.d.ts`);
25-
const languageExtensionsPath = path.resolve(
26-
__dirname,
27-
`../node_modules/typescript-to-lua/language-extensions`
28-
);
2925

3026
// Create a TS program containing input.ts and the declarations file to test
3127
const rootNames = ['input.ts', typesPath];
3228
const options = {
3329
luaTarget,
34-
skipLibCheck: true,
3530
lib: ['lib.esnext.d.ts'],
3631
noHeader: true,
3732
target: ts.ScriptTarget.ESNext,
38-
types: [languageExtensionsPath],
3933
moduleResolution: ts.ModuleResolutionKind.NodeJs,
4034
};
4135
const compilerHost = getCompilerHostWithInput(input); // Create a compiler host that returns input for input.ts

0 commit comments

Comments
 (0)