File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,14 @@ class Config {
15
15
this . nodeModulesConfig = options . nodeModulesConfig ;
16
16
this . detectiveConfig = options . detective || options . detectiveConfig || { } ;
17
17
this . tsConfig = options . tsConfig ;
18
+ this . tsConfigPath = options . tsConfigPath ;
18
19
this . noTypeDefinitions = options . noTypeDefinitions ;
19
-
20
20
this . filter = options . filter ;
21
21
22
22
if ( ! this . filename ) { throw new Error ( 'filename not given' ) ; }
23
23
if ( ! this . directory ) { throw new Error ( 'directory not given' ) ; }
24
24
if ( this . filter && typeof this . filter !== 'function' ) { throw new Error ( 'filter must be a function' ) ; }
25
25
26
- this . tsConfigPath = options . tsConfigPath
27
26
if ( 'string' === typeof this . tsConfig ) {
28
27
debug ( 'preparsing the ts config into an object for performance' ) ;
29
28
const ts = require ( 'typescript' ) ;
You can’t perform that action at this time.
0 commit comments