fix(types): add RawSlots in h signature (#1293)
This commit is contained in:
@@ -29,6 +29,9 @@ describe('h inference w/ element', () => {
|
||||
expectError(h('div', { ref: {} }))
|
||||
// @ts-expect-error
|
||||
expectError(h('div', { ref: 123 }))
|
||||
// slots
|
||||
const slots = { default: () => {} } // RawSlots
|
||||
h('div', {}, slots)
|
||||
})
|
||||
|
||||
describe('h inference w/ Fragment', () => {
|
||||
|
||||
Reference in New Issue
Block a user