Skip to content

Commit dce25be

Browse files
committed
fix type imports #43
1 parent 3c2379c commit dce25be

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/lib/parser/parse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import {
2828
walkValues
2929
} from "../ast";
3030
import {tokenize} from "./tokenize";
31-
import {
31+
import type {
3232
AstAtRule,
3333
AstComment,
3434
AstDeclaration,

src/lib/renderer/sourcemap/sourcemap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class SourceMap {
5151
}
5252
}
5353

54-
toUrl() {
54+
toUrl(): string {
5555

5656
// /*# sourceMappingURL = ${url} */
5757
return `data:application/json,${encodeURIComponent(JSON.stringify(this.toJSON()))}`;

src/lib/validation/selector.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {
1+
import type {
22
AstAtRule,
33
AstNode,
44
AttrToken,
@@ -13,7 +13,7 @@ import {
1313
} from "../../@types";
1414
import {EnumToken, ValidationLevel} from "../ast";
1515
import {getConfig} from "./config";
16-
import {ValidationResult} from "../../@types/validation";
16+
import type {ValidationResult} from "../../@types/validation";
1717

1818
const expressions: EnumToken[] = [
1919
EnumToken.DelimTokenType, EnumToken.IncludeMatchTokenType, EnumToken.DashMatchTokenType,

0 commit comments

Comments
 (0)