UNPKG

astx

Version:

super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring

12 lines (11 loc) 663 B
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { Backend } from './Backend'; import { Expression, Statement } from '../types'; export declare function statements(this: Backend, code: TemplateStringsArray | string[] | string, ...nodes: any[]): Statement[]; export declare function statement(this: Backend, template: TemplateStringsArray | string[] | string, ...nodes: any[]): Statement; export declare function expression(this: Backend, code: TemplateStringsArray | string[] | string, ...nodes: any[]): Expression;