File tree 4 files changed +29
-1
lines changed
4 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 11
11
"test" : " jest" ,
12
12
"lint" : " eslint src" ,
13
13
"build" : " rollup -c" ,
14
- "prepare" : " rollup -c"
14
+ "prepare" : " rollup -c" ,
15
+ "test:types" : " tsc -p ./types/tsconfig.json"
15
16
},
16
17
"repository" : {
17
18
"type" : " git" ,
35
36
"lint-staged" : " ^6.1.0" ,
36
37
"puppeteer" : " ^1.0.0" ,
37
38
"rollup" : " ^0.55.3" ,
39
+ "typescript" : " ^3.2.2" ,
38
40
"vue" : " ^2.5.13" ,
39
41
"yorkie" : " ^1.0.3"
40
42
},
Original file line number Diff line number Diff line change
1
+ import _Vue , { Component , AsyncComponent } from 'vue'
2
+
3
+ declare function wrap (
4
+ Vue : typeof _Vue ,
5
+ Component : Component | AsyncComponent
6
+ ) : HTMLElement
7
+
8
+ export default wrap
Original file line number Diff line number Diff line change
1
+ {
2
+ "compilerOptions" : {
3
+ "strict" : true ,
4
+ "noEmit" : true ,
5
+ "lib" : [
6
+ " es2015" ,
7
+ " dom"
8
+ ]
9
+ },
10
+ "include" : [
11
+ " ./*.ts"
12
+ ]
13
+ }
Original file line number Diff line number Diff line change @@ -3390,6 +3390,11 @@ typedarray@^0.0.6:
3390
3390
version "0.0.6"
3391
3391
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
3392
3392
3393
+ typescript@^3.2.2 :
3394
+ version "3.2.2"
3395
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.2.tgz#fe8101c46aa123f8353523ebdcf5730c2ae493e5"
3396
+ integrity sha512-VCj5UiSyHBjwfYacmDuc/NOk4QQixbE+Wn7MFJuS0nRuPQbof132Pw4u53dm264O8LPc2MVsc7RJNml5szurkg==
3397
+
3393
3398
uglify-js@^2.6 :
3394
3399
version "2.8.29"
3395
3400
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd"
You can’t perform that action at this time.
0 commit comments