File tree 1 file changed +5
-5
lines changed
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';
9
9
/**
10
10
* Sass boolean.
11
11
*
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 .
14
14
*/
15
- export interface SassBoolean extends Value {
16
- readonly value : boolean ;
15
+ export abstract class SassBoolean extends Value {
16
+ abstract readonly value : boolean ;
17
17
}
18
18
19
19
const trueHash = hash ( true ) ;
20
20
const falseHash = hash ( false ) ;
21
21
22
- export class SassBooleanInternal extends Value implements SassBoolean {
22
+ export class SassBooleanInternal extends SassBoolean {
23
23
// Whether callers are allowed to construct this class. This is set to
24
24
// `false` once the two constants are constructed so that the constructor
25
25
// throws an error for future calls, in accordance with the legacy API.
You can’t perform that action at this time.
0 commit comments