mirror of https://github.com/sveltejs/svelte
fix: treat nullish expression as empty string (#15901)
* fix: treat nullish expression as empty string * fixpull/15902/head
parent
8a351944a3
commit
895337cf47
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: treat nullish expression as empty string
|
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
html: '[]'
|
||||
});
|
@ -0,0 +1 @@
|
||||
[{undefined ?? null}]
|
Loading…
Reference in new issue