mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
15 lines
305 B
TypeScript
15 lines
305 B
TypeScript
// Copyright 2021 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
declare module 'firstline' {
|
|
type FirstLineOpts = {
|
|
encoding?: BufferEncoding;
|
|
lineEnding?: '\n';
|
|
};
|
|
|
|
export default function firstLine(
|
|
filePath: string,
|
|
opts?: FirstLineOpts
|
|
): Promise<string>;
|
|
}
|