File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ const compareString = (a, b) => {
416
416
} ;
417
417
418
418
/** Some parsers (languages without types) don't provide ImportKind */
419
- const DEAFULT_IMPORT_KIND = 'value' ;
419
+ const DEFAULT_IMPORT_KIND = 'value' ;
420
420
const getNormalizedValue = ( node , toLowerCase ) => {
421
421
const value = node . value ;
422
422
return toLowerCase ? String ( value ) . toLowerCase ( ) : value ;
@@ -462,8 +462,8 @@ function getSorter(alphabetizeOptions) {
462
462
// In case the paths are equal (result === 0), sort them by importKind
463
463
if ( ! result && multiplierImportKind ) {
464
464
result = multiplierImportKind * compareString (
465
- nodeA . node . importKind || DEAFULT_IMPORT_KIND ,
466
- nodeB . node . importKind || DEAFULT_IMPORT_KIND ,
465
+ nodeA . node . importKind || DEFAULT_IMPORT_KIND ,
466
+ nodeB . node . importKind || DEFAULT_IMPORT_KIND ,
467
467
) ;
468
468
}
469
469
You can’t perform that action at this time.
0 commit comments