pl-api: remove old as any

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-02-27 01:40:08 +01:00
parent f531474be0
commit 5fbcaef919
5 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@ const streaming = (client: PlApiBaseClient) => ({
{ access_token: client.accessToken },
);
const ws = new WebSocket(path, client.accessToken as any);
const ws = new WebSocket(path, client.accessToken);
let listeners: Array<{ listener: (event: StreamingEvent) => any; stream?: string }> = [];
const queue: Array<() => any> = [];

View File

@ -34,7 +34,7 @@ const driveFolderSchema: v.BaseSchema<any, DriveFolder, v.BaseIssue<unknown>> =
...baseDriveFolderSchema.entries,
folders: filteredArray(v.lazy(() => driveFolderSchema)),
}),
) as any;
);
/**
* @category Entity types

View File

@ -134,7 +134,7 @@ const notificationGroupSchema: v.BaseSchema<any, NotificationGroup, v.BaseIssue<
chatMentionNotificationGroupSchema,
eventParticipationRequestNotificationGroupSchema,
]),
) as any;
);
/**
* @category Entity types

View File

@ -129,7 +129,7 @@ const notificationSchema: v.BaseSchema<any, Notification, v.BaseIssue<unknown>>
eventParticipationRequestNotificationSchema,
biteNotificationSchema,
]),
) as any;
);
/**
* @category Entity types

View File

@ -221,7 +221,7 @@ const statusSchema: v.BaseSchema<any, Status, v.BaseIssue<unknown>> = v.pipe(
quote: v.fallback(v.nullable(v.lazy(() => v.union([quoteSchema, shallowQuoteSchema]))), null),
}),
) as any;
);
/**
* @category Schemas