Open bluwy opened 3 weeks ago
The return type of parseTar and parseTarGzip should be using ParsedTarFileItem as that's what being computed in the functions:
parseTar
parseTarGzip
ParsedTarFileItem
https://github.com/unjs/nanotar/blob/c1247bdec97163b487c8ca55003e291dfea755ab/src/parse.ts#L3-L6
https://github.com/unjs/nanotar/blob/c1247bdec97163b487c8ca55003e291dfea755ab/src/parse.ts#L75
The return type of
parseTar
andparseTarGzip
should be usingParsedTarFileItem
as that's what being computed in the functions:https://github.com/unjs/nanotar/blob/c1247bdec97163b487c8ca55003e291dfea755ab/src/parse.ts#L3-L6
https://github.com/unjs/nanotar/blob/c1247bdec97163b487c8ca55003e291dfea755ab/src/parse.ts#L75