mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-23 01:57:29 +00:00
Add return type for regionParser
This commit is contained in:
parent
ba43cbcc74
commit
a4deebaed6
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ export function pointPairs(arr: string[]) {
|
|||
|
||||
type RegionData = { [section: string]: string[] };
|
||||
|
||||
export default function regionParser(regionStr: string) {
|
||||
export default function regionParser(regionStr: string): RegionData {
|
||||
const iniData = parseIni(regionStr);
|
||||
const data: RegionData = {};
|
||||
Object.keys(iniData).forEach(section => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue