mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 04:26:32 +08:00
It will be used in a check to enforce license headers DISABLE_THIRD_PARTY_CHECK=Adds recast to node_modules Change-Id: I822a368d9ba22058ac2586ea3638089a2f5b1d18 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2016746 Reviewed-by: Paul Lewis <aerotwist@chromium.org> Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
13 lines
413 B
TypeScript
13 lines
413 B
TypeScript
interface PatcherType {
|
|
replace(loc: any, lines: any): any;
|
|
get(loc?: any): any;
|
|
tryToReprintComments(newNode: any, oldNode: any, print: any): any;
|
|
deleteComments(node: any): any;
|
|
}
|
|
interface PatcherConstructor {
|
|
new (lines: any): PatcherType;
|
|
}
|
|
declare const Patcher: PatcherConstructor;
|
|
export { Patcher };
|
|
export declare function getReprinter(path: any): ((print: any) => any) | undefined;
|