From: Evan You Date: Fri, 21 Feb 2020 10:27:08 +0000 (+0100) Subject: chore: use undefined for TS 3.8 compat X-Git-Tag: v3.0.0-alpha.6~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=189a0a3b1944dcb52b846a6053d8aeceb29b23a4;p=thirdparty%2Fvuejs%2Fcore.git chore: use undefined for TS 3.8 compat --- diff --git a/packages/runtime-dom/__tests__/modules/style.spec.ts b/packages/runtime-dom/__tests__/modules/style.spec.ts index 28eac3b426..0866727508 100644 --- a/packages/runtime-dom/__tests__/modules/style.spec.ts +++ b/packages/runtime-dom/__tests__/modules/style.spec.ts @@ -21,7 +21,7 @@ describe(`module style`, () => { it('remove if falsy value', () => { const el = document.createElement('div') - patchStyle(el, { color: 'red' }, { color: null }) + patchStyle(el, { color: 'red' }, { color: undefined }) expect(el.style.cssText.replace(/\s/g, '')).toBe('') })