Skip to content

Commit

Permalink
refactor: 🚨 prefer type import where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
DerZade committed Jul 6, 2023
1 parent 5efb3e4 commit e8f39e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/domrect.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
PhysicalAxis,
PhysicalDirection,
type PhysicalAxis,
type PhysicalDirection,
axisDimensionAndDirection,
axisStartEnd
} from './index';
Expand Down Expand Up @@ -42,11 +42,11 @@ export class LogicalDOMRect extends DOMRect {

this.inlineProperty =
DIMENSION_TO_PROPERTY[
axisDimensionAndDirection(inlineAxis).dimension
axisDimensionAndDirection(inlineAxis).dimension

Check failure on line 45 in src/domrect.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `····`
];
this.blockProperty =
DIMENSION_TO_PROPERTY[
axisDimensionAndDirection(blockAxis).dimension
axisDimensionAndDirection(blockAxis).dimension

Check failure on line 49 in src/domrect.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `····`
];
}

Expand Down

0 comments on commit e8f39e1

Please sign in to comment.