You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Property 'clients' does not exist on type 'Plugin' in src/index.ts during pnpm start from latest build as of yesterday and still exists today
Describe the bug
When running the command pnpm start --characters="characters/character.character.json", the build fails with TypeScript errors in src/index.ts. Specifically, the errors occur because the Plugin type does not include a clients property.
The following errors are observed:
src/index.ts:206:24 - error TS2339: Property 'clients' does not exist on type 'Plugin'.
206 if (plugin.clients) {
~~~~~~~
src/index.ts:207:45 - error TS2339: Property 'clients' does not exist on type 'Plugin'.
207 for (const client of plugin.clients) {
~~~~~~~
The issue seems to originate from an outdated or incorrect type definition for Plugin.
To Reproduce
Clone the repository and navigate to the project directory.
The project should successfully build and start without errors. Type definitions for Plugin should include the clients property, or the code should handle cases where clients is not defined.
The text was updated successfully, but these errors were encountered:
Title:
Error:
Property 'clients' does not exist on type 'Plugin'
insrc/index.ts
duringpnpm start
from latest build as of yesterday and still exists todayDescribe the bug
When running the command
pnpm start --characters="characters/character.character.json"
, the build fails with TypeScript errors insrc/index.ts
. Specifically, the errors occur because thePlugin
type does not include aclients
property.The following errors are observed:
The issue seems to originate from an outdated or incorrect type definition for
Plugin
.To Reproduce
pnpm install pnpm start --characters="characters/character.character.json"
Expected behavior
The project should successfully build and start without errors. Type definitions for
Plugin
should include theclients
property, or the code should handle cases whereclients
is not defined.The text was updated successfully, but these errors were encountered: