File tree 3 files changed +7
-6
lines changed
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
# ##############################################################################
2
2
# Set default behavior to automatically normalize line endings.
3
3
# ##############################################################################
4
- * text =auto
4
+ * text =auto eol = lf
5
5
6
6
# ##############################################################################
7
7
# Set default behavior for command prompt diff.
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ export default typescriptEslint.config(
22
22
"@typescript-eslint/no-explicit-any" : 0 ,
23
23
"@typescript-eslint/no-non-null-assertion" : 0 ,
24
24
"@typescript-eslint/no-var-requires" : 0 ,
25
- "prettier/prettier" : [ "error" , { "endOfLine" : "auto" } ] // match .gitattributes
26
25
} ,
27
26
} ,
28
27
) ;
Original file line number Diff line number Diff line change @@ -415,10 +415,12 @@ export function emitWebIdl(
415
415
. map ( convertDomTypeToTsType )
416
416
. join ( ", " ) ;
417
417
418
- if ( ! subtypeString && compilerBehavior . useGenericTypedArrays ) {
419
- if ( arrayBufferViewTypes . has ( type ) ) {
420
- subtypeString = obj . allowShared ? "ArrayBufferLike" : "ArrayBuffer" ;
421
- }
418
+ if (
419
+ ! subtypeString &&
420
+ compilerBehavior . useGenericTypedArrays &&
421
+ arrayBufferViewTypes . has ( type )
422
+ ) {
423
+ subtypeString = obj . allowShared ? "ArrayBufferLike" : "ArrayBuffer" ;
422
424
}
423
425
424
426
return type === "Array" && subtypeString
You can’t perform that action at this time.
0 commit comments