@tarojs/cli
Version:
cli tool for taro
10 lines (9 loc) • 361 B
TypeScript
import { ModifyCallback } from '../create/page';
import type { NodePath } from '@babel/traverse';
import type { ExportDefaultDeclaration } from '@babel/types';
export declare const modifyPagesOrSubPackages: (params: {
path: NodePath<ExportDefaultDeclaration>;
fullPagePath: string;
subPkgRootPath?: string;
callback: ModifyCallback;
}) => void;