Skip to content
Client
Server

Reference / @open-music-sdk/validate / tIssue

Interface: tIssue ​

Defined in: runtime.ts:6

One thing wrong with a value, as a validator reports it.

Properties ​

message ​

ts
readonly message: string;

Defined in: runtime.ts:8

What was expected and was not found: required, expected string, expected "songs".


path? ​

ts
readonly optional path?: readonly (string | number)[];

Defined in: runtime.ts:10

Where in the value, from its root: property names and array indexes. Empty when the value itself is the problem.

MIT licensed. Not affiliated with, endorsed by, or sponsored by Apple Inc. Apple Music and MusicKit are trademarks of Apple Inc.