You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 15:06:20 +00:00
0fc38a1c71
WiredRoomSettingsRequestComposer and WiredUserVariablesRequestComposer declared 'implements IMessageComposer<ConstructorParameters<typeof Self>>' but neither defines a constructor, so ConstructorParameters resolved to 'any[]' and getMessageArray() returning [] (any[]) failed the narrower base-type signature () => []. Both composers send zero payload; type as IMessageComposer<[]> directly + annotate the return type.
15 lines
253 B
TypeScript
15 lines
253 B
TypeScript
import { IMessageComposer } from '@nitrots/api';
|
|
|
|
export class WiredUserVariablesRequestComposer implements IMessageComposer<[]>
|
|
{
|
|
public getMessageArray(): []
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public dispose(): void
|
|
{
|
|
return;
|
|
}
|
|
}
|