Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/878 1) Enabled eslint error reporting for unresolved imports and fixed all the errors 2) Enabled eslint for typings (d.ts) and fixed all the errors Reviewed By: passy Differential Revision: D20335151 fbshipit-source-id: 7b142281a406b32df0f02a5cd0d7d05eba941acd
24 lines
490 B
TypeScript
24 lines
490 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;
|
|
}
|