Skip to content

Commit 189a0a3

Browse files
committed
chore: use undefined for TS 3.8 compat
1 parent 5fac655 commit 189a0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-dom/__tests__/modules/style.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe(`module style`, () => {
2121

2222
it('remove if falsy value', () => {
2323
const el = document.createElement('div')
24-
patchStyle(el, { color: 'red' }, { color: null })
24+
patchStyle(el, { color: 'red' }, { color: undefined })
2525
expect(el.style.cssText.replace(/\s/g, '')).toBe('')
2626
})
2727

0 commit comments

Comments
 (0)