Closed minht11 closed 1 month ago
especially annoying when inject
ing a value and throwing if undefined in setup
- still getting is possibly 'undefined'
for template checks.
const value = inject('value');
if (value === undefined)
throw new Error('value is undefined');
After upgrading to vue-tsc 2.0.19 previous code no longer works:
I get error
Verified working version 2.0.7