Skip to content

Conversation

zhangenming
Copy link
Contributor

No description provided.

@posva posva added the 🧹 p1-chore Priority 1: this doesn't change code behavior. label Aug 21, 2021
}

export type ToRef<T> = [T] extends [Ref] ? T : Ref<UnwrapRef<T>>
type ToRef<T> = [T] extends [Ref] ? T : Ref<UnwrapRef<T>>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be moved to above toRef and exported in index.ts since it's used in the return type of a public API.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, don't quite understand. Is this all right?

} & DebuggerEventExtraInfo

export type DebuggerEventExtraInfo = {
type DebuggerEventExtraInfo = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be exported in index.ts instead.

@yyx990803 yyx990803 merged commit a6e6253 into vuejs:master Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧹 p1-chore Priority 1: this doesn't change code behavior.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants