Browse Source

feat(types): add declaration for inheritAttrs

dev
Evan You 7 years ago
parent
commit
1f9e924971
  1. 1
      flow/options.js
  2. 1
      types/options.d.ts

1
flow/options.js

@ -69,6 +69,7 @@ declare type ComponentOptions = {
extends?: Class<Component> | Object;
delimiters?: [string, string];
comments?: boolean;
inheritAttrs?: boolean;
// private
_isComponent?: true;

1
types/options.d.ts

@ -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 {

Loading…
Cancel
Save