1
1
"use strict" ;
2
2
var fsu = require ( "../utils/fsUtil" ) ;
3
- var simpleValidator = require ( ' ./simpleValidator' ) ;
3
+ var simpleValidator = require ( " ./simpleValidator" ) ;
4
4
var types = simpleValidator . types ;
5
5
var compilerOptionsValidation = {
6
6
allowJs : { type : types . boolean } ,
@@ -11,6 +11,7 @@ var compilerOptionsValidation = {
11
11
charset : { type : types . string } ,
12
12
codepage : { type : types . number } ,
13
13
declaration : { type : types . boolean } ,
14
+ declarationDir : { type : types . string } ,
14
15
diagnostics : { type : types . boolean } ,
15
16
emitBOM : { type : types . boolean } ,
16
17
experimentalAsyncFunctions : { type : types . boolean } ,
@@ -85,13 +86,13 @@ function errorWithDetails(error, details) {
85
86
error . details = details ;
86
87
return error ;
87
88
}
88
- var fs = require ( 'fs' ) ;
89
- var path = require ( ' path' ) ;
90
- var tsconfig = require ( ' tsconfig' ) ;
91
- var os = require ( 'os' ) ;
92
- var detectIndent = require ( ' detect-indent' ) ;
93
- var detectNewline = require ( ' detect-newline' ) ;
94
- var formatting = require ( ' ./formatting' ) ;
89
+ var fs = require ( "fs" ) ;
90
+ var path = require ( " path" ) ;
91
+ var tsconfig = require ( " tsconfig" ) ;
92
+ var os = require ( "os" ) ;
93
+ var detectIndent = require ( " detect-indent" ) ;
94
+ var detectNewline = require ( " detect-newline" ) ;
95
+ var formatting = require ( " ./formatting" ) ;
95
96
var projectFileName = 'tsconfig.json' ;
96
97
var defaultFilesGlob = [
97
98
"**/*.ts" ,
0 commit comments