Skip to content

Commit

Permalink
fix(typescript): separate tsx shim
Browse files Browse the repository at this point in the history
close #1198
  • Loading branch information
yyx990803 committed May 1, 2018
1 parent a88fa5f commit 51c8090
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import Vue, { VNode } from 'vue'

declare module '*.vue' {
export default Vue
}

declare global {
namespace JSX {
// tslint:disable no-empty-interface
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module '*.vue' {
import Vue from 'vue'
export default Vue
}

0 comments on commit 51c8090

Please sign in to comment.