Anyone have a link to the 'getService' function strapi made as a work around for typing for services

Need to fix the typing for my services asap. Dev experience is becoming unbearable.

This topic has been created from a Discord post (1245704738595541032) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Anyone have a link to the ‘getService’ function strapi made as a work around for typing services

I’m unsure about Strapi internally, but <@171666531434889216> made it work like this for the Webtools plugin:

(hope you don’t mind me tagging you Alex)

Thanks, thats close but thats for plugins… im looking for api services

it was used like this:
getService("products")

Unsure about that sorry