feat(chat): implement chat #13
Annotations
11 errors
lint:
packages/chat/src/index.ts#L36
'logger' is assigned a value but never used
|
lint
Process completed with exit code 1.
|
build:
packages/core/src/index.ts#L114
This comparison appears to be unintentional because the types 'Status' and 'string' have no overlap.
|
build:
packages/chat/src/index.ts#L4
Cannot find module 'koishi-plugin-messages' or its corresponding type declarations.
|
build:
packages/chat/src/index.ts#L50
Property 'messages' does not exist on type 'Context'.
|
build:
packages/chat/src/index.ts#L56
Property 'messages' does not exist on type 'Context'.
|
build:
packages/chat/src/index.ts#L69
Property 'messages' does not exist on type 'Context'.
|
build:
packages/chat/src/index.ts#L73
Argument of type '"chat/update"' is not assignable to parameter of type 'keyof Events<Context>'.
|
build:
packages/chat/src/index.ts#L77
Argument of type '"chat/message"' is not assignable to parameter of type 'keyof Events<Context>'.
|
build:
packages/chat/src/index.ts#L112
Property 'messages' does not exist on type 'Context'.
|
build
Process completed with exit code 2.
|