@@ -2275,13 +2275,13 @@ namespace FourSlash {
22752275
22762276 public verifyImportFixAtPosition ( expectedTextArray : string [ ] , errorCode ?: number ) {
22772277 const ranges = this . getRanges ( ) ;
2278- if ( ranges . length == 0 ) {
2278+ if ( ranges . length === 0 ) {
22792279 this . raiseError ( "At least one range should be specified in the testfile." ) ;
22802280 }
22812281
22822282 const codeFixes = this . getCodeFixActions ( this . activeFile . fileName , errorCode ) ;
22832283
2284- if ( ! codeFixes || codeFixes . length == 0 ) {
2284+ if ( ! codeFixes || codeFixes . length === 0 ) {
22852285 this . raiseError ( "No codefixes returned." ) ;
22862286 }
22872287
@@ -2646,7 +2646,7 @@ namespace FourSlash {
26462646 private assertItemInCompletionList ( items : ts . CompletionEntry [ ] , name : string , text ?: string , documentation ?: string , kind ?: string , spanIndex ?: number ) {
26472647 for ( const item of items ) {
26482648 if ( item . name === name ) {
2649- if ( documentation != undefined || text !== undefined ) {
2649+ if ( documentation !== undefined || text !== undefined ) {
26502650 const details = this . getCompletionEntryDetails ( item . name ) ;
26512651
26522652 if ( documentation !== undefined ) {
@@ -2899,7 +2899,7 @@ ${code}
28992899 }
29002900 // TODO: should be '==='?
29012901 }
2902- else if ( line == "" || lineLength === 0 ) {
2902+ else if ( line === "" || lineLength === 0 ) {
29032903 // Previously blank lines between fourslash content caused it to be considered as 2 files,
29042904 // Remove this behavior since it just causes errors now
29052905 }
0 commit comments