chore: Remove unused @ts-ignore's (no-changelog) (#12198)

This commit is contained in:
Charlie Kolb
2024-12-18 08:35:53 +01:00
committed by GitHub
parent 5d33a6ba8a
commit 54b02acdd7
49 changed files with 2 additions and 67 deletions

View File

@@ -66,7 +66,6 @@ export async function affinityApiRequestAllItems(
do {
responseData = await affinityApiRequest.call(this, method, resource, body, query);
// @ts-ignore
query.page_token = responseData.page_token;
returnData.push.apply(returnData, responseData[propertyName] as IDataObject[]);
} while (responseData.page_token !== undefined && responseData.page_token !== null);
@@ -84,7 +83,6 @@ export function eventsExist(subscriptions: string[], currentSubsriptions: string
}
export function mapResource(key: string) {
//@ts-ignore
return {
person: 'persons',
list: 'lists',