Skip to content

Commit

Permalink
- Fixed GlobalComponents declaration #70
Browse files Browse the repository at this point in the history
fix: GlobalComponents declaration #70
  • Loading branch information
victorgarciaesgi committed Feb 23, 2023
1 parent 51696b3 commit 77e9aeb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[3.0.#] - 2022-02-23

- Fixed GlobalComponents declaration #70

[3.0.0] - 2022-02-22

# 🎉 New features
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuxt-typed-router",
"version": "3.0.1-beta.0",
"version": "3.0.1",
"description": "Provide autocompletion for routes paths, names and params in Nuxt apps",
"type": "module",
"main": "./dist/module.cjs",
Expand Down
2 changes: 1 addition & 1 deletion src/core/output/generators/files/__typed-router.d.file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function createTypedRouterDefinitionFile(): string {
};
// Declare runtime-core instead of vue for compatibility issues with pnpm
declare module '@vue/runtime-core' {
declare module 'vue' {
interface GlobalComponents {
NuxtLink: TypedNuxtLink;
}
Expand Down

1 comment on commit 77e9aeb

@vercel
Copy link

@vercel vercel bot commented on 77e9aeb Feb 23, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.