Skip to content

Commit

Permalink
fix type imports #43
Browse files Browse the repository at this point in the history
  • Loading branch information
tbela99 committed Sep 7, 2024
1 parent 3c2379c commit dce25be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/lib/parser/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
walkValues
} from "../ast";
import {tokenize} from "./tokenize";
import {
import type {
AstAtRule,
AstComment,
AstDeclaration,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/renderer/sourcemap/sourcemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class SourceMap {
}
}

toUrl() {
toUrl(): string {

// /*# sourceMappingURL = ${url} */
return `data:application/json,${encodeURIComponent(JSON.stringify(this.toJSON()))}`;
Expand Down
4 changes: 2 additions & 2 deletions src/lib/validation/selector.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {
import type {
AstAtRule,
AstNode,
AttrToken,
Expand All @@ -13,7 +13,7 @@ import {
} from "../../@types";
import {EnumToken, ValidationLevel} from "../ast";
import {getConfig} from "./config";
import {ValidationResult} from "../../@types/validation";
import type {ValidationResult} from "../../@types/validation";

const expressions: EnumToken[] = [
EnumToken.DelimTokenType, EnumToken.IncludeMatchTokenType, EnumToken.DashMatchTokenType,
Expand Down

0 comments on commit dce25be

Please sign in to comment.