Skip to content

Commit

Permalink
refactor: updated typings in vue-app (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
exreplay committed Jan 7, 2021
1 parent f0292da commit de0e89f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/@averjs/builder/lib/builders/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { VueMetaPlugin } from 'vue-meta';
import { Request } from 'express';

export interface BuilderContext {
[index: string]: any;
title: string | undefined;
url: string;
req: Partial<Request>;
Expand Down
1 change: 1 addition & 0 deletions packages/@averjs/vue-app/lib/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface SSRContext {
export interface AppEntryContext<T extends any> extends SSRContext {
test: string;
appOptions: {
[index: string]: any;
i18n: VueI18n;
router: VueRouter;
store: Store<T>;
Expand Down

0 comments on commit de0e89f

Please sign in to comment.