Selaa lähdekoodia

Add missing semicolon and space to the type files (#1146)

Kia King Ishii 7 vuotta sitten
vanhempi
commit
ad9bc30af4
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 1 1
      types/helpers.d.ts
  2. 2 2
      types/index.d.ts

+ 1 - 1
types/helpers.d.ts

@@ -5,7 +5,7 @@ type Dictionary<T> = { [key: string]: T };
 type Computed = () => any;
 type Computed = () => any;
 type MutationMethod = (...args: any[]) => void;
 type MutationMethod = (...args: any[]) => void;
 type ActionMethod = (...args: any[]) => Promise<any>;
 type ActionMethod = (...args: any[]) => Promise<any>;
-type CustomVue = Vue & Dictionary<any>
+type CustomVue = Vue & Dictionary<any>;
 
 
 interface Mapper<R> {
 interface Mapper<R> {
   (map: string[]): Dictionary<R>;
   (map: string[]): Dictionary<R>;

+ 2 - 2
types/index.d.ts

@@ -106,8 +106,8 @@ export interface Module<S, R> {
   modules?: ModuleTree<R>;
   modules?: ModuleTree<R>;
 }
 }
 
 
-export interface ModuleOptions{
-  preserveState?: boolean
+export interface ModuleOptions {
+  preserveState?: boolean;
 }
 }
 
 
 export interface GetterTree<S, R> {
 export interface GetterTree<S, R> {