Commit Graph

18 Commits

Author SHA1 Message Date
Tycho f6f64befb8
types: enhance plugin type inference for better IDE support (#13063)
* types: enhance plugin type inference for better JSDoc and IDE support

* test: clean up

* chore: tweaks
2025-03-19 11:44:32 +08:00
Buer Yang 10e54dcc86
fix(types): the directive's modifiers should be optional (#12605)
* fix(types): the directive's modifiers should be optional

* fix: test

---------

Co-authored-by: edison <daiwei521@126.com>
2025-03-19 11:38:59 +08:00
Shinigami 636a8619f0
feat(types): add type TemplateRef (#12645)
* feat(types): add type TemplateRef

* chore: simplify

Co-authored-by: jh-leong <jh.leong@outlook.com>

---------

Co-authored-by: jh-leong <jh.leong@outlook.com>
2025-03-14 08:17:49 +08:00
edison 1022eabaa1
fix(types): defineEmits w/ interface declaration (#12343)
close #8457
2024-11-15 10:46:59 +08:00
edison 05685a9d7c
fix(types): retain union type narrowing with defaults applied (#12108)
close #12106
2024-10-11 11:17:48 +08:00
Tycho 704173e242
fix(types): ensure `this.$props` type does not include `string` (#12123)
close #12122
2024-10-11 10:30:09 +08:00
Tycho e2c19c20cf
fix(types/ref): handle nested refs in UnwrapRef (#12049)
close #12044
2024-09-27 10:23:01 +08:00
ML 1bad606eb3
types: improve app.directive type generics (#11926) 2024-09-16 10:30:04 +08:00
山吹色御守 7a64b6734d
types(internal): provide internal options for using `$el` type in language tools (#11814) 2024-09-05 20:58:13 +08:00
白雾三语 c74176ec7b
fix(types): added name attribute support to details tag (#11823)
close #11821
2024-09-05 17:53:05 +08:00
Evan You fca20a39aa
fix(types): fix defineComponent props inference when setup() has explicit annotation
close #11803
2024-09-05 16:44:47 +08:00
Tycho fe07f70736
fix(types/defineModel): allow getter and setter types to be unrelated (#11699)
close #11697
2024-09-03 17:47:50 +08:00
Rudy d6ccce9049
test(types): component type check when props is an empty object (#7419)
ref #4051
ref #8825
2024-08-28 17:48:10 +08:00
yangxiuxiu 44973bb3e7
fix(types): strip non-prop default values from return type of withDefaults (#9998)
close #9899
2024-08-19 16:29:43 +08:00
Andy Li 5e0f6d5f8f
fix(types/custom-element): `defineCustomElement` with required props (#11578) 2024-08-16 16:22:03 +08:00
山吹色御守 d7d0371e74
fix(runtime-core): correct type inference for PascalCase emits (#11579)
fix vuejs/language-tools#4269
2024-08-15 17:49:43 +08:00
Tycho 5cf5a1620d
fix(types/computed): ensure type safety for `WritableComputedRef` (#11608) 2024-08-14 15:11:10 +08:00
Evan You 6a5b2098e1
workflow: move private packages to separate directory 2024-08-12 08:02:03 +08:00