Skip to content

Commit

Permalink
feat(nuxt): deprecate context.pinia in favor of context.$pinia
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Oct 14, 2021
1 parent 438b16d commit 7dbc8e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nuxt/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ declare module '@nuxt/types' {
export interface Context {
/**
* Pinia instance attached to the app.
*
* @deprecated: use context.$pinia instead
*/
pinia: Pinia

Expand Down

0 comments on commit 7dbc8e8

Please sign in to comment.