Files
flipper/types/line-replace.d.ts
Anton Nikolaev caf04e4e4a Typescriptify the main process code (9/N)
Summary: Converted scripts/build-release.js and scripts/build-headless.js to typescript

Reviewed By: passy

Differential Revision: D20066504

fbshipit-source-id: 25f336062361e1211b581f96979978a6bf4fe6d4
2020-02-27 05:45:23 -08:00

19 lines
487 B
TypeScript

/**
* 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.
*
* @format
*/
declare module 'line-replace' {
export default function(args: {
file: string;
line: number;
text: string;
addNewLine: boolean;
callback: (args: {file: string; line: number; replacedText: string; text: string}) => void;
}): void;
}