File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,17 @@ import {Value} from './index';
99/**
1010 * Sass boolean.
1111 *
12- * Cannot be constructed; exists only as an interface and the exported
13- * singletons .
12+ * This is an abstract class that cannot be directly instantiated. Instead,
13+ * use the provided { @link sassTrue} and { @link sassFalse} singleton instances .
1414 */
15- export interface SassBoolean extends Value {
16- readonly value : boolean ;
15+ export abstract class SassBoolean extends Value {
16+ abstract readonly value : boolean ;
1717}
1818
1919const trueHash = hash ( true ) ;
2020const falseHash = hash ( false ) ;
2121
22- export class SassBooleanInternal extends Value implements SassBoolean {
22+ export class SassBooleanInternal extends SassBoolean {
2323 // Whether callers are allowed to construct this class. This is set to
2424 // `false` once the two constants are constructed so that the constructor
2525 // throws an error for future calls, in accordance with the legacy API.
You can’t perform that action at this time.
0 commit comments