-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from ambit-tsai/dev
feat: deep watch prop "option"
- Loading branch information
Showing
14 changed files
with
393 additions
and
1,742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
import * as echarts from 'echarts' | ||
|
||
|
||
type EChartsNS = typeof echarts | ||
type ResizeObserverConstructor = typeof ResizeObserver | ||
type Options = { | ||
echarts: typeof echarts | ||
echarts: EChartsNS | ||
h?: Function | ||
ResizeObserver?: typeof ResizeObserver | ||
ResizeObserver?: ResizeObserverConstructor | ||
name?: string | ||
deepWatchOption?: boolean | ||
} | ||
|
||
|
||
declare module "echarts-for-vue" { | ||
export function createComponent(options: Options): object | ||
export function plugin(app: any, options: Options): void | ||
export function plugin(app: { component: Function }, options: Options): void | ||
} |
Oops, something went wrong.