vue-remove-attributes
Version:
A vue-template-compiler module that removes unwanted attributes from templates.
8 lines (7 loc) • 340 B
TypeScript
import { ASTElement } from "vue-template-compiler";
export declare type MatcherType = string | string[] | RegExp;
export interface AttributeRemoverModule {
preTransformNode: (AST: ASTElement) => ASTElement;
}
declare const createAttributeRemover: (matcher: MatcherType) => AttributeRemoverModule;
export default createAttributeRemover;