Skip to content

Commit

Permalink
Revert unwanted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed Apr 15, 2023
1 parent 4947e3b commit 98de266
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions lib/at-rule.d.ts
Expand Up @@ -103,6 +103,7 @@ declare class AtRule_ extends Container {
*/
params: string

constructor(defaults?: AtRule.AtRuleProps)
assign(overrides: object | AtRule.AtRuleProps): this
clone(overrides?: Partial<AtRule.AtRuleProps>): this
cloneBefore(overrides?: Partial<AtRule.AtRuleProps>): this
Expand Down
2 changes: 0 additions & 2 deletions lib/declaration.d.ts
Expand Up @@ -61,8 +61,6 @@ declare namespace Declaration {
* ```
*/
declare class Declaration_ extends Node {
static default: typeof Declaration

type: 'decl'
parent: Container | undefined
raws: Declaration.DeclarationRaws
Expand Down
4 changes: 2 additions & 2 deletions lib/document.d.ts
Expand Up @@ -35,11 +35,11 @@ declare namespace Document {
* ```
*/
declare class Document_ extends Container<Root> {
constructor(defaults?: Document.DocumentProps)

type: 'document'
parent: undefined

constructor(defaults?: Document.DocumentProps)

/**
* Returns a `Result` instance representing the document’s CSS roots.
*
Expand Down
4 changes: 2 additions & 2 deletions lib/root.d.ts
Expand Up @@ -54,7 +54,6 @@ declare namespace Root {
* ```
*/
declare class Root_ extends Container {
constructor(defaults?: Root.RootProps)
type: 'root'
parent: Document | undefined
raws: Root.RootRaws
Expand All @@ -72,8 +71,9 @@ declare class Root_ extends Container {
* @param opts Options.
* @return Result with current root’s CSS.
*/
toResult(options?: ProcessOptions): Result
toResult(options?: ProcessOptions): Result

constructor(defaults?: Root.RootProps)
assign(overrides: object | Root.RootProps): this
}

Expand Down
2 changes: 1 addition & 1 deletion lib/rule.d.ts
Expand Up @@ -69,7 +69,6 @@ declare namespace Rule {
* ```
*/
declare class Rule_ extends Container {
constructor(defaults?: Rule.RuleProps)
type: 'rule'
parent: Container | undefined
raws: Rule.RuleRaws
Expand Down Expand Up @@ -102,6 +101,7 @@ declare class Rule_ extends Container {
*/
selectors: string[]

constructor(defaults?: Rule.RuleProps)
assign(overrides: object | Rule.RuleProps): this
clone(overrides?: Partial<Rule.RuleProps>): this
cloneBefore(overrides?: Partial<Rule.RuleProps>): this
Expand Down

0 comments on commit 98de266

Please sign in to comment.