Skip to content

Commit 9a03d87

Browse files
authored
Fix wallabyjs test for TS 6.0 (DefinitelyTyped#74429)
1 parent d09f1d3 commit 9a03d87

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

types/wallabyjs/wallabyjs-tests.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ const myCompiler: wallabyjs.IWallabyCompiler = (file: wallabyjs.IWallabyFile) =>
1313
};
1414
};
1515

16+
declare const compilers: wallabyjs.IWallabyBuiltInCompilers;
17+
1618
export class WallabyConfig implements wallabyjs.IWallabyConfig {
1719
public files: Array<string | wallabyjs.IWallabyFilePattern> = [
1820
"src/**/*.ts",
@@ -26,9 +28,9 @@ export class WallabyConfig implements wallabyjs.IWallabyConfig {
2628
];
2729

2830
public compilers: wallabyjs.IWallabyCompilers = {
29-
"src/**/*.js": this.wallaby.compilers.babel({ babelrc: true }),
30-
"src/**/*.ts": this.wallaby.compilers.typeScript({ strict: true }),
31-
"src/**/*.coffee": this.wallaby.compilers.coffeeScript({ bare: true }),
31+
"src/**/*.js": compilers.babel({ babelrc: true }),
32+
"src/**/*.ts": compilers.typeScript({ strict: true }),
33+
"src/**/*.coffee": compilers.coffeeScript({ bare: true }),
3234
"src/**/*.my": myCompiler,
3335
};
3436

0 commit comments

Comments
 (0)