File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
const fs = require ( "fs" ) ;
2
2
const path = require ( "path" ) ;
3
3
const tsPatch = require ( "ts-patch" ) ;
4
- const tsp1 = require ( ' tsp1' ) ;
4
+ const tsp1 = require ( " tsp1" ) ;
5
5
6
6
/* ****************************************************************************************************************** *
7
7
* Config
@@ -22,6 +22,6 @@ for (const tsDirName of tsDirs) {
22
22
}
23
23
24
24
// Patch discovered modules
25
- for ( const [ dirName , dir ] of baseDirs )
26
- if ( dirName === ' typescript-three' ) tsp1 . patch ( [ "tsc.js" , "typescript.js" ] , { basedir : dir } )
25
+ for ( const [ dirName , dir ] of baseDirs )
26
+ if ( dirName === " typescript-three" ) tsp1 . patch ( [ "tsc.js" , "typescript.js" ] , { basedir : dir } ) ;
27
27
else tsPatch . patch ( [ "tsc.js" , "typescript.js" ] , { dir } ) ;
Original file line number Diff line number Diff line change @@ -239,7 +239,9 @@ describe(`Specific Tests`, () => {
239
239
240
240
( ! skipDts && tsVersion >= 38 ? test : test . skip ) ( `Resolves nested imports` , ( ) => {
241
241
expect ( subPackagesFile ) . transformedMatches (
242
- `export ${ tsVersion < 49 ? `declare ` : '' } type ImportWithChildren = import("./packages/pkg-a").PassThru<import("./packages/pkg-b").PackageBType>` ,
242
+ `export ${
243
+ tsVersion < 49 ? `declare ` : ""
244
+ } type ImportWithChildren = import("./packages/pkg-a").PassThru<import("./packages/pkg-b").PackageBType>`,
243
245
{ kind : [ "dts" ] }
244
246
) ;
245
247
} ) ;
You can’t perform that action at this time.
0 commit comments