@@ -174,7 +174,7 @@ let deleteProjectDiagnostics = (projectRootPath: string) => {
174174 } ) ;
175175
176176 projectsFiles . delete ( projectRootPath ) ;
177- if ( config . extensionConfiguration . incrementalTypechecking ?. enabled ) {
177+ if ( config . extensionConfiguration . incrementalTypechecking ?. enable ) {
178178 ic . removeIncrementalFileFolder ( projectRootPath ) ;
179179 }
180180 }
@@ -259,7 +259,7 @@ let openedFile = (fileUri: string, fileContent: string) => {
259259 if ( projectRootPath != null ) {
260260 let projectRootState = projectsFiles . get ( projectRootPath ) ;
261261 if ( projectRootState == null ) {
262- if ( config . extensionConfiguration . incrementalTypechecking ?. enabled ) {
262+ if ( config . extensionConfiguration . incrementalTypechecking ?. enable ) {
263263 ic . recreateIncrementalFileFolder ( projectRootPath ) ;
264264 }
265265 const namespaceName =
@@ -354,7 +354,7 @@ let openedFile = (fileUri: string, fileContent: string) => {
354354let closedFile = ( fileUri : string ) => {
355355 let filePath = fileURLToPath ( fileUri ) ;
356356
357- if ( config . extensionConfiguration . incrementalTypechecking ?. enabled ) {
357+ if ( config . extensionConfiguration . incrementalTypechecking ?. enable ) {
358358 ic . handleClosedFile ( filePath ) ;
359359 }
360360
@@ -388,7 +388,7 @@ let updateOpenedFile = (fileUri: string, fileContent: string) => {
388388 let filePath = fileURLToPath ( fileUri ) ;
389389 assert ( stupidFileContentCache . has ( filePath ) ) ;
390390 stupidFileContentCache . set ( filePath , fileContent ) ;
391- if ( config . extensionConfiguration . incrementalTypechecking ?. enabled ) {
391+ if ( config . extensionConfiguration . incrementalTypechecking ?. enable ) {
392392 ic . handleUpdateOpenedFile ( filePath , fileContent , send , ( ) => {
393393 if ( config . extensionConfiguration . codeLens ) {
394394 sendCodeLensRefresh ( ) ;
@@ -862,7 +862,7 @@ function format(msg: p.RequestMessage): Array<p.Message> {
862862}
863863
864864let updateDiagnosticSyntax = ( fileUri : string , fileContent : string ) => {
865- if ( config . extensionConfiguration . incrementalTypechecking ?. enabled ) {
865+ if ( config . extensionConfiguration . incrementalTypechecking ?. enable ) {
866866 // The incremental typechecking already sends syntax diagnostics.
867867 return ;
868868 }
0 commit comments