Skip to content

Commit

Permalink
Fix Sass Boolean, make it a class to match spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Goodwine committed Jan 24, 2025
1 parent 2b3c83f commit 869f586
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/value/boolean.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import {Value} from './index';
/**
* Sass boolean.
*
* Cannot be constructed; exists only as an interface and the exported
* singletons.
* This is an abstract class that cannot be directly instantiated. Instead,
* use the provided `true` and `false` singleton instances.
*/
export interface SassBoolean extends Value {
readonly value: boolean;
export abstract class SassBoolean extends Value {
declare readonly value: boolean;
}

const trueHash = hash(true);
Expand Down

0 comments on commit 869f586

Please sign in to comment.