Installation
npm install --save @types/lrc-parser
Summary
This package contains type definitions for lrc-parser (https://github.com/dkakashi69/lrc-parser#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lrc-parser.
index.d.ts
interface LrcData {
[key: string]: string | ScriptItem[] | undefined;
scripts?: ScriptItem[];
}
interface ScriptItem {
start: number;
text: string;
end: number;
}
declare function lrcParser(data: string): LrcData;
export = lrcParser;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Alex Kovacs.