Have the lwc
package directly export types from @lwc/engine-dom
#3598
Labels
lwc
package directly export types from @lwc/engine-dom
#3598
Currently the
lwc
package has its own types:lwc/packages/lwc/types.d.ts
Lines 12 to 16 in 92f63e4
...which are kinda-sorta mimicking the types in
@lwc/engine-dom
. But they're not exactly the same.Ideally we should just use something like:
This way, we wouldn't need to duplicate the types, which leads to bugs like #3597.
The text was updated successfully, but these errors were encountered: