Skip to content

Commit

Permalink
Fix CustomAtRule.loc type (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Jan 9, 2025
1 parent 99f161a commit 8b49805
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Angle, CssColor, Rule, CustomProperty, EnvironmentVariable, Function, Image, LengthValue, MediaQuery, Declaration, Ratio, Resolution, Selector, SupportsCondition, Time, Token, TokenOrValue, UnknownAtRule, Url, Variable, StyleRule, DeclarationBlock, ParsedComponent, Multiplier, StyleSheet } from './ast';
import type { Angle, CssColor, Rule, CustomProperty, EnvironmentVariable, Function, Image, LengthValue, MediaQuery, Declaration, Ratio, Resolution, Selector, SupportsCondition, Time, Token, TokenOrValue, UnknownAtRule, Url, Variable, StyleRule, DeclarationBlock, ParsedComponent, Multiplier, StyleSheet, Location2 } from './ast';
import { Targets, Features } from './targets';

export * from './ast';
Expand Down Expand Up @@ -138,7 +138,7 @@ interface CustomAtRule<N, R extends CustomAtRuleDefinition> {
name: N,
prelude: R['prelude'] extends keyof MappedPrelude ? MappedPrelude[R['prelude']] : ParsedComponent,
body: FindByType<CustomAtRuleBody, MappedBody<R['body']>>,
loc: Location
loc: Location2
}

type CustomAtRuleBody = {
Expand Down

0 comments on commit 8b49805

Please sign in to comment.