Skip to content

Commit 7c36925

Browse files
committed
fix types
1 parent 5e4d5b2 commit 7c36925

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import {
22
parse,
33
type CssNode,
44
type List,
5-
type CssLocation,
65
type Raw,
76
type StyleSheet,
87
type Atrule,
@@ -16,6 +15,7 @@ import {
1615
type Declaration,
1716
type Value,
1817
type Operator,
18+
type CssLocationRange,
1919
} from '@eslint/css-tree'
2020

2121
const SPACE = ' '
@@ -66,7 +66,7 @@ export function format(css: string, { minify = false, tab_size = undefined }: Fo
6666
/** [start0, end0, start1, end1, etc.]*/
6767
let comments: number[] = []
6868

69-
function on_comment(_: string, position: CssLocation) {
69+
function on_comment(_: string, position: CssLocationRange) {
7070
comments.push(position.start.offset, position.end.offset)
7171
}
7272

0 commit comments

Comments
 (0)