Summary: Converted scripts/build-release.js and scripts/build-headless.js to typescript Reviewed By: passy Differential Revision: D20066504 fbshipit-source-id: 25f336062361e1211b581f96979978a6bf4fe6d4
19 lines
487 B
TypeScript
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;
|
|
}
|