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 11const fs = require ( "fs" ) ;
22const path = require ( "path" ) ;
33const tsPatch = require ( "ts-patch" ) ;
4- const tsp1 = require ( ' tsp1' ) ;
4+ const tsp1 = require ( " tsp1" ) ;
55
66/* ****************************************************************************************************************** *
77 * Config
@@ -22,6 +22,6 @@ for (const tsDirName of tsDirs) {
2222}
2323
2424// 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 } ) ;
2727 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`, () => {
239239
240240 ( ! skipDts && tsVersion >= 38 ? test : test . skip ) ( `Resolves nested imports` , ( ) => {
241241 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>`,
243245 { kind : [ "dts" ] }
244246 ) ;
245247 } ) ;
You can’t perform that action at this time.
0 commit comments