File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -4,16 +4,17 @@ import type { BaseNode } from "./base";
4
4
export type ESLintCompatiblePostCSSNode < PostCSSNode extends Node = Node > =
5
5
BaseNode &
6
6
( PostCSSNode extends Container < infer Child >
7
- ? Omit <
8
- Container < ESLintCompatiblePostCSSNode < Child > > ,
9
- "parent" | "walk"
10
- > & {
11
- parent : BaseNode ;
12
- walk (
13
- callback : (
14
- node : ESLintCompatiblePostCSSNode < Child > ,
15
- index : number
16
- ) => false | void
17
- ) : false | undefined ;
18
- }
7
+ ? Omit < PostCSSNode , "parent" | "type" > &
8
+ Omit <
9
+ Container < ESLintCompatiblePostCSSNode < Child > > ,
10
+ "parent" | "walk"
11
+ > & {
12
+ parent : BaseNode ;
13
+ walk (
14
+ callback : (
15
+ node : ESLintCompatiblePostCSSNode < Child > ,
16
+ index : number
17
+ ) => false | void
18
+ ) : false | undefined ;
19
+ }
19
20
: PostCSSNode ) ;
You can’t perform that action at this time.
0 commit comments