mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix(ts): deprecate isClient
, isServer
, isStatic
(#5211)
This commit is contained in:
parent
920f444b6e
commit
29c3c4250c
15
packages/vue-app/types/index.d.ts
vendored
15
packages/vue-app/types/index.d.ts
vendored
@ -14,9 +14,18 @@ type NuxtState = Dictionary<any>
|
||||
|
||||
export interface Context {
|
||||
app: Vue
|
||||
isClient: boolean
|
||||
isServer: boolean
|
||||
isStatic: boolean
|
||||
/**
|
||||
* @deprecated Use process.client instead
|
||||
*/
|
||||
isClient: boolean; isClient: boolean;
|
||||
/**
|
||||
* @deprecated Use process.server instead
|
||||
*/
|
||||
isServer: boolean; isServer: boolean;
|
||||
/**
|
||||
* @deprecated Use process.static instead
|
||||
*/
|
||||
isStatic: boolean; isStatic: boolean;
|
||||
isDev: boolean
|
||||
isHMR: boolean
|
||||
route: Route
|
||||
|
Loading…
Reference in New Issue
Block a user