Skip to content

Commit 494c070

Browse files
authored
Merge pull request #58 from HerringtonDarkholme/master
WIP: feat(typing): use es style module export
2 parents 3bc8e75 + 17d0004 commit 494c070

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Vue = require('vue')
1+
import Vue from 'vue'
22
import { WatchOptions } from 'vue'
33
import { Observable } from 'rxjs/Observable'
44

types/test/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Vue = require('vue')
1+
import Vue from 'vue'
22
import * as VueRX from '../index'
33
import * as Rx from 'rxjs/Rx'
44

types/test/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"es2015.core"
1010
],
1111
"strict": true,
12+
"allowSyntheticDefaultImports": true,
1213
"noEmit": true
1314
}
1415
}

types/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"es2015.promise"
99
],
1010
"strict": true,
11+
"allowSyntheticDefaultImports": true,
1112
"noEmit": true
1213
},
1314
"include": [

0 commit comments

Comments
 (0)