Skip to content

Commit 7a9fe6e

Browse files
committed
Removed default generic value from ESLintCompatiblePostCSSNode
1 parent 20aa0c5 commit 7a9fe6e

File tree

1 file changed

+21
-22
lines changed

1 file changed

+21
-22
lines changed

src/ast/style.ts

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -63,25 +63,24 @@ type ESLintCompatiblePostCSSContainer<
6363
): false | undefined;
6464
};
6565

66-
export type ESLintCompatiblePostCSSNode<PostCSSNode extends Node = Node> =
67-
Locations &
68-
Omit<
69-
PostCSSNode,
70-
| "each"
71-
| "every"
72-
| "first"
73-
| "index"
74-
| "insertAfter"
75-
| "insertBefore"
76-
| "last"
77-
| "nodes"
78-
| "push"
79-
| "removeChild"
80-
| "some"
81-
| "type"
82-
| "walk"
83-
> & {
84-
type: `SvelteStyle-${PostCSSNode["type"]}`;
85-
} & (PostCSSNode extends Container<infer Child>
86-
? ESLintCompatiblePostCSSContainer<PostCSSNode, Child>
87-
: unknown);
66+
export type ESLintCompatiblePostCSSNode<PostCSSNode extends Node> = Locations &
67+
Omit<
68+
PostCSSNode,
69+
| "type"
70+
| "each"
71+
| "every"
72+
| "first"
73+
| "index"
74+
| "insertAfter"
75+
| "insertBefore"
76+
| "last"
77+
| "nodes"
78+
| "push"
79+
| "removeChild"
80+
| "some"
81+
| "walk"
82+
> & {
83+
type: `SvelteStyle-${PostCSSNode["type"]}`;
84+
} & (PostCSSNode extends Container<infer Child>
85+
? ESLintCompatiblePostCSSContainer<PostCSSNode, Child>
86+
: unknown);

0 commit comments

Comments
 (0)