fix(ts): deprecate isClient, isServer, isStatic (#5211)

This commit is contained in:
Daniel Hritzkiv 2019-03-14 06:09:52 -04:00 committed by pooya parsa
parent 920f444b6e
commit 29c3c4250c

View File

@ -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