Carlos Rodrigues

Results 33 issues of Carlos Rodrigues

Fixes #7278 > Note: This has 3 different commit messages: - types(ref): fix ref() when emitting types - types(toRaw): fix returning type to Raw - types(toReadonly): make returning type Readonly...

feat: types
:hammer: p3-minor-bug

## Description Support for newer vue utility types https://github.com/vuejs/core/pull/9556, there was an overall work done to `defineComponent` , it requires Typescript `5.3.*` and `slots` are not currently failing to resolve...

T: enhancement
typescript

Documentation for more advanced usage and add utilities introduced in https://github.com/vuejs/core/pull/9556

closes #7259 #9296 ## Breaking Changes This PR causes breaking changes, because the types become more stricter on `Component` in general, this is necessary to prevent false type safety by...

scope: types
version: minor
:cake: p2-nice-to-have

fix #3367 ### Changes - Support for typed `Components` - to allow extraction of the components available - Support for typed `Directives` and `ComponentCustomDirectives` (aka global directives) - Initial support...

scope: types
version: minor
:cake: p2-nice-to-have

This allows the InjectionKey to be used as a PropertyKey, useful for the OptionsAPI. ```ts const key = Symbol() as InjectionKey defineComponent({ provide: { // this now works [key]: 'foo'...

scope: types
version: minor

Add support for https://github.com/vuejs/core/pull/9556 This is preliminary, more changes might be needed

https://github.com/vuejs/core/pull/9556 Not sure if the snapshots generated are correct 🤔

## Summary Allow to support Generic Components and allowing types to be inferred in the template ```ts class Comp extends VueComponent< { items: T; keyPath: keyof T; cols: Array },...

Allow to describe `slots` and `types` ### SFC ```vue import { defineComponent, defineAsyncComponent, h, createSlots } from 'vue' export default defineComponent({ slots: { top: null, // no value item: Object...