11"use strict" ;
22var fsu = require ( "../utils/fsUtil" ) ;
3- var simpleValidator = require ( ' ./simpleValidator' ) ;
3+ var simpleValidator = require ( " ./simpleValidator" ) ;
44var types = simpleValidator . types ;
55var compilerOptionsValidation = {
66 allowJs : { type : types . boolean } ,
@@ -11,6 +11,7 @@ var compilerOptionsValidation = {
1111 charset : { type : types . string } ,
1212 codepage : { type : types . number } ,
1313 declaration : { type : types . boolean } ,
14+ declarationDir : { type : types . string } ,
1415 diagnostics : { type : types . boolean } ,
1516 emitBOM : { type : types . boolean } ,
1617 experimentalAsyncFunctions : { type : types . boolean } ,
@@ -85,13 +86,13 @@ function errorWithDetails(error, details) {
8586 error . details = details ;
8687 return error ;
8788}
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" ) ;
9596var projectFileName = 'tsconfig.json' ;
9697var defaultFilesGlob = [
9798 "**/*.ts" ,
0 commit comments