Skip to content

Commit

Permalink
chore: update types
Browse files Browse the repository at this point in the history
  • Loading branch information
David Luna authored and David Luna committed Sep 8, 2024
1 parent cb13e47 commit 1351eff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/css-selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class CssSelector {

/**
* @param {CssSelector} other
* @returns {CssSelector | undefined}
* @returns {CssSelector}
*/
intersection(other) {
if (this.supersetOf(other)) {
Expand Down
2 changes: 1 addition & 1 deletion lib/csset.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class Csset {

/**
* @param {Csset} other
* @returns {Csset | undefined}
* @returns {Csset}
*/
intersection(other) {
if (this.supersetOf(other)) {
Expand Down
4 changes: 2 additions & 2 deletions types/css-selector.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export class CssSelector {
subsetOf(other: CssSelector): boolean;
/**
* @param {CssSelector} other
* @returns {CssSelector | undefined}
* @returns {CssSelector}
*/
intersection(other: CssSelector): CssSelector | undefined;
intersection(other: CssSelector): CssSelector;
/**
* @returns {string}
*/
Expand Down
4 changes: 2 additions & 2 deletions types/csset.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export class Csset {
union(other: Csset): Csset;
/**
* @param {Csset} other
* @returns {Csset | undefined}
* @returns {Csset}
*/
intersection(other: Csset): Csset | undefined;
intersection(other: Csset): Csset;
/**
* @returns {string}
*/
Expand Down

0 comments on commit 1351eff

Please sign in to comment.