Skip to content

Commit

Permalink
feat(types): add declaration for inheritAttrs
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jul 11, 2017
1 parent 6118759 commit 1f9e924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions flow/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ declare type ComponentOptions = {
extends?: Class<Component> | Object;
delimiters?: [string, string];
comments?: boolean;
inheritAttrs?: boolean;

// private
_isComponent?: true;
Expand Down
1 change: 1 addition & 0 deletions types/options.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export interface ComponentOptions<V extends Vue> {
extends?: ComponentOptions<Vue> | typeof Vue;
delimiters?: [string, string];
comments?: boolean;
inheritAttrs?: boolean;
}

export interface FunctionalComponentOptions {
Expand Down

0 comments on commit 1f9e924

Please sign in to comment.