feat(core): support missing accessors #729
Annotations
10 errors
build:
adapters/qqguild/src/utils.ts#L7
Type '{ id: string; name: string; guildId: string; guildName: string; }' is not assignable to type 'Guild'.
|
build:
adapters/qqguild/src/bot.ts#L33
Argument of type '{ type: string; guildId: string; messageId: string; channelId: string; timestamp: number; }' is not assignable to parameter of type 'Partial<EventData>'.
|
build:
adapters/qqguild/src/bot.ts#L38
Cannot assign to 'author' because it is a read-only property.
|
build:
adapters/onebot/src/types.ts#L92
Namespace '"/home/runner/work/satori/satori/packages/protocol/lib/index"' has no exported member 'Author'.
|
build:
adapters/onebot/src/utils.ts#L21
Type '{ user: Universal.User; nickname: string; roles: OneBot.GroupRole[]; id: string; name?: string; nick?: string; userId?: string; username?: string; avatar?: string; discriminator?: string; isBot?: boolean; }' is not assignable to type 'GuildMember'.
|
build:
adapters/onebot/src/utils.ts#L31
Type '{ user: { id: string; name: string; isBot: boolean; }; nickname: string; roles: string[]; }' is not assignable to type 'GuildMember'.
|
build:
adapters/onebot/src/utils.ts#L41
Type '{ user: { id: string; name: string; isBot: boolean; }; nickname: string; roles: string[]; }' is not assignable to type 'GuildMember'.
|
build:
adapters/onebot/src/utils.ts#L45
Namespace '"/home/runner/work/satori/satori/packages/protocol/lib/index"' has no exported member 'Author'.
|
build:
adapters/onebot/src/utils.ts#L54
Property 'author' does not exist on type 'Message'.
|
build:
adapters/onebot/src/utils.ts#L55
Property 'userId' does not exist on type 'Message'. Did you mean 'user'?
|