feat(Freek): implement season and episode text through largeImageText #5438
Annotations
4 errors and 1 warning
Compile changed files:
websites/F/Freek/presence.ts#L77
Type '{ type: ActivityType.Listening; largeImageText?: string | Node; name?: string; details?: string | Node; state?: string | Node; startTimestamp?: number | Date; ... 4 more ...; buttons?: [...]; } | { ...; } | { ...; } | { ...; }' is not assignable to type 'PresenceData'.
Type '{ type: ActivityType; largeImageText?: string | Node; name?: string; details?: string | Node; state?: string | Node; startTimestamp?: number | Date; ... 4 more ...; buttons?: [...]; }' is not assignable to type 'PresenceData'.
Type '{ type: ActivityType; largeImageText?: string | Node; name?: string; details?: string | Node; state?: string | Node; startTimestamp?: number | Date; ... 4 more ...; buttons?: [...]; }' is not assignable to type 'NonListeningPresenceData'.
Types of property 'type' are incompatible.
Type 'ActivityType' is not assignable to type 'ActivityType.Playing | ActivityType.Watching | ActivityType.Competing'.
Type 'ActivityType.Listening' is not assignable to type 'ActivityType.Playing | ActivityType.Watching | ActivityType.Competing'.
|
Compile changed files
Error: presence.ts:77:32 - Error TS2322: Type '{ type: ActivityType.Listening; largeImageText?: string | Node; name?: string; details?: string | Node; state?: string | Node; startTimestamp?: number | Date; ... 4 more ...; buttons?: [...]; } | { ...; } | { ...; } | { ...; }' is not assignable to type 'PresenceData'.
Type '{ type: ActivityType; largeImageText?: string | Node; name?: string; details?: string | Node; state?: string | Node; startTimestamp?: number | Date; ... 4 more ...; buttons?: [...]; }' is not assignable to type 'PresenceData'.
Type '{ type: ActivityType; largeImageText?: string | Node; name?: string; details?: string | Node; state?: string | Node; startTimestamp?: number | Date; ... 4 more ...; buttons?: [...]; }' is not assignable to type 'NonListeningPresenceData'.
Types of property 'type' are incompatible.
Type 'ActivityType' is not assignable to type 'ActivityType.Playing | ActivityType.Watching | ActivityType.Competing'.
Type 'ActivityType.Listening' is not assignable to type 'ActivityType.Playing | ActivityType.Watching | ActivityType.Competing'.
|
Compile changed files
Some Presences failed to compile, exiting...
|
Compile changed files
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading