Skip to content

Commit

Permalink
chore: make type defs consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
jeswr committed Feb 7, 2024
1 parent 2c5c837 commit 44a10d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/literal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default class Literal extends Node implements TFLiteral {
* Gets whether two literals are the same
* @param other The other statement
*/
equals (other: Term | undefined | null): boolean {
equals (other: Term | null | undefined): boolean {
if (!other) {
return false
}
Expand Down
2 changes: 1 addition & 1 deletion src/tf-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface Term {
*
* Note that the task force spec only allows comparison with other terms
*/
equals (other: Term | undefined | null): boolean
equals (other: Term | null | undefined): boolean
}

/**
Expand Down

0 comments on commit 44a10d4

Please sign in to comment.