Skip to content

Commit

Permalink
Code review
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Dec 24, 2024
1 parent 32a3556 commit 34e0aaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/sass-parser/lib/src/statement/declaration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ describe('a property declaration', () => {
}).toString(),
).toBe('foo:/**/bar {\n baz: bang\n}'));

it('with no value and children', () =>
it('with only children', () =>
expect(
new Declaration({
prop: 'foo',
Expand Down
4 changes: 2 additions & 2 deletions pkg/sass-parser/lib/src/statement/declaration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class Declaration
}

/**
* The interpolation that represents this declaration's property prop.
* The interpolation that represents this declaration's property name.
*/
get propInterpolation(): Interpolation {
return this._propInterpolation!;
Expand Down Expand Up @@ -153,7 +153,7 @@ export class Declaration
// TODO: Return whether `this.expression` is a nested series of unbracketed
// list expressions that ends in the unquoted string `!important` (or an
// unquoted string ending in " !important", which can occur if `value` is
// set // manually).
// set manually).
throw new Error('Not yet implemented');
}
set important(value: boolean) {
Expand Down

0 comments on commit 34e0aaa

Please sign in to comment.