File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11# ##############################################################################
22# Set default behavior to automatically normalize line endings.
33# ##############################################################################
4- * text =auto
4+ * text =auto eol = lf
55
66# ##############################################################################
77# 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(
2222 "@typescript-eslint/no-explicit-any" : 0 ,
2323 "@typescript-eslint/no-non-null-assertion" : 0 ,
2424 "@typescript-eslint/no-var-requires" : 0 ,
25- "prettier/prettier" : [ "error" , { "endOfLine" : "auto" } ] // match .gitattributes
2625 } ,
2726 } ,
2827) ;
Original file line number Diff line number Diff line change @@ -415,10 +415,12 @@ export function emitWebIdl(
415415 . map ( convertDomTypeToTsType )
416416 . join ( ", " ) ;
417417
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" ;
422424 }
423425
424426 return type === "Array" && subtypeString
You can’t perform that action at this time.
0 commit comments