Skip to content

Commit c0c5fa5

Browse files
authored
Update Config.js
1 parent 64e31ee commit c0c5fa5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ class Config {
1515
this.nodeModulesConfig = options.nodeModulesConfig;
1616
this.detectiveConfig = options.detective || options.detectiveConfig || {};
1717
this.tsConfig = options.tsConfig;
18+
this.tsConfigPath = options.tsConfigPath;
1819
this.noTypeDefinitions = options.noTypeDefinitions;
19-
2020
this.filter = options.filter;
2121

2222
if (!this.filename) { throw new Error('filename not given'); }
2323
if (!this.directory) { throw new Error('directory not given'); }
2424
if (this.filter && typeof this.filter !== 'function') { throw new Error('filter must be a function'); }
2525

26-
this.tsConfigPath = options.tsConfigPath
2726
if ('string' === typeof this.tsConfig) {
2827
debug('preparsing the ts config into an object for performance');
2928
const ts = require('typescript');

0 commit comments

Comments
 (0)