mirror of
https://github.com/strapi/strapi.git
synced 2025-07-12 11:31:38 +00:00
12 lines
311 B
TypeScript
12 lines
311 B
TypeScript
![]() |
import * as userspermissions from '../services/UsersPermissions';
|
||
|
import * as user from '../services/User';
|
||
|
import * as jwt from '../services/Jwt';
|
||
|
|
||
|
type S = {
|
||
|
userspermissions: typeof userspermissions;
|
||
|
user: typeof user;
|
||
|
jwt: typeof jwt;
|
||
|
};
|
||
|
|
||
|
export function getService<T extends keyof S>(name: T): S[T];
|