3 lines
158 B
TypeScript
3 lines
158 B
TypeScript
import type { NeteaseSong } from "./types";
|
|
|
|
export const artistAndAlbum = (song: NeteaseSong) => `${song.ar.map(it => it.name).join(', ')} - ${song.al.name}` |