Open
Description
Vue version
3.4.27
Link to minimal reproduction
Steps to reproduce
See compiled JS in playground.
What is expected?
num
compiles to { type: Number, required: true }
.
What is actually happening?
num
compiles to { type: null, required: true }
.
System Info
No response
Any additional comments?
The issue occurs with any global type, whether it's in declare global {}
, in *.d.ts
, or in global types
.