@@ -2367,13 +2367,13 @@ namespace FourSlash {
23672367
23682368 public verifyImportFixAtPosition ( expectedTextArray : string [ ] , errorCode ?: number ) {
23692369 const ranges = this . getRanges ( ) ;
2370- if ( ranges . length == 0 ) {
2370+ if ( ranges . length === 0 ) {
23712371 this . raiseError ( "At least one range should be specified in the testfile." ) ;
23722372 }
23732373
23742374 const codeFixes = this . getCodeFixActions ( this . activeFile . fileName , errorCode ) ;
23752375
2376- if ( ! codeFixes || codeFixes . length == 0 ) {
2376+ if ( ! codeFixes || codeFixes . length === 0 ) {
23772377 this . raiseError ( "No codefixes returned." ) ;
23782378 }
23792379
@@ -2738,7 +2738,7 @@ namespace FourSlash {
27382738 private assertItemInCompletionList ( items : ts . CompletionEntry [ ] , name : string , text ?: string , documentation ?: string , kind ?: string , spanIndex ?: number ) {
27392739 for ( const item of items ) {
27402740 if ( item . name === name ) {
2741- if ( documentation != undefined || text !== undefined ) {
2741+ if ( documentation !== undefined || text !== undefined ) {
27422742 const details = this . getCompletionEntryDetails ( item . name ) ;
27432743
27442744 if ( documentation !== undefined ) {
@@ -2989,9 +2989,8 @@ ${code}
29892989 }
29902990 }
29912991 }
2992- // TODO: should be '==='?
29932992 }
2994- else if ( line == "" || lineLength === 0 ) {
2993+ else if ( line === "" || lineLength === 0 ) {
29952994 // Previously blank lines between fourslash content caused it to be considered as 2 files,
29962995 // Remove this behavior since it just causes errors now
29972996 }
0 commit comments