]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(types): update examples in JSDoc for augmenting global properties and custom...
authorRaman Paulau <rspaulau@gmail.com>
Wed, 14 Aug 2024 07:12:13 +0000 (00:12 -0700)
committerGitHub <noreply@github.com>
Wed, 14 Aug 2024 07:12:13 +0000 (15:12 +0800)
packages/runtime-core/src/componentOptions.ts
packages/runtime-core/src/componentPublicInstance.ts

index 07955f8410133febc0f5b88854531af8f1d29051..c59b0428f40089aaf579dd95c90972a6f54b4ba2 100644 (file)
@@ -91,7 +91,7 @@ import { markAsyncBoundary } from './helpers/useId'
  *
  * @example
  * ```ts
- * declare module '@vue/runtime-core' {
+ * declare module 'vue' {
  *   interface ComponentCustomOptions {
  *     beforeRouteUpdate?(
  *       to: Route,
index 9857df18995a8ef7777d414895e72fc876a7fa32..39935427f473ee8b9147eafe2b0065cee1c4ca52 100644 (file)
@@ -65,7 +65,7 @@ import type { Directive } from './directives'
  * import { createApp } from 'vue'
  * import { Router, createRouter } from 'vue-router'
  *
- * declare module '@vue/runtime-core' {
+ * declare module 'vue' {
  *   interface ComponentCustomProperties {
  *     $router: Router
  *   }