emacroh5lib 1.0.94 → 1.0.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ describe('HelloWorld.vue', () => {
8
8
  const wrapper = shallowMount(HelloWorld, {
9
9
  propsData: { msg }
10
10
  })
11
-
11
+
12
12
  expect(wrapper.text()).toMatch(msg)
13
13
  })
14
14
  })
@@ -18,11 +18,8 @@ describe('HelloWorld.mounted', () => {
18
18
 
19
19
  const HelloWorldVue = Vue.extend(HelloWorld);
20
20
  const ListComponent = new HelloWorldVue().$mount();
21
-
21
+
22
22
  it('调用方法', () => {
23
-
24
23
  console.info(ListComponent);
25
-
26
-
27
24
  })
28
25
  })
package/tsconfig.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "declarationMap": false, // 是否生成声明文件map文件(便于调试)
12
12
  "moduleResolution": "node",
13
13
  "module": "es6",
14
- "target": "es5", // 转化成的目标语言
14
+ "target": "es6", // 转化成的目标语言
15
15
  "baseUrl": "./",
16
16
  "strict": true,
17
17
  "jsx": "react",
@@ -21,7 +21,10 @@
21
21
  "allowSyntheticDefaultImports": true,
22
22
  "forceConsistentCasingInFileNames": true,
23
23
  "useDefineForClassFields": true,
24
+ "useUnknownInCatchVariables": false,
24
25
  "types": [
26
+ "jest",
27
+ "node"
25
28
  ],
26
29
  "paths": {
27
30
  "@/*": [
@@ -33,7 +36,11 @@
33
36
  "./node_modules/@types"
34
37
  ],
35
38
  "lib": [
36
- "es6"
39
+ "ES6",
40
+ "DOM",
41
+ "DOM.Iterable",
42
+ "ESNext",
43
+ "ES5"
37
44
  ],
38
45
  "allowJs": true
39
46
  },