-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This updates the augment from `@vue/runtime core` to `vue`. See: vuejs/router#2295 Signed-off-by: Phillip Rak <[email protected]>
- Loading branch information
1 parent
57915d3
commit 6b08fee
Showing
3 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
declare module '*.vue' { | ||
import Vue from 'vue'; | ||
export default Vue; | ||
export {} | ||
|
||
declare module 'vue' { | ||
interface ComponentCustomProperties { | ||
/** | ||
* Lookup a given string with the given arguments | ||
* @param raw if set, do not do HTML escaping. | ||
*/ | ||
t: { | ||
(key: string, args?: Record<string, any>, raw?: boolean): string; | ||
(options: { k: string; raw?: boolean; tag?: string | Record<string, any>; escapehtml?: boolean }): string; | ||
} | ||
} | ||
} | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters