mirror of
https://github.com/strapi/strapi.git
synced 2025-07-19 07:02:26 +00:00
10 lines
270 B
TypeScript
10 lines
270 B
TypeScript
import * as upload from '../services/upload';
|
|
import * as imageManipulation from '../services/image-manipulation';
|
|
|
|
type S = {
|
|
upload: typeof upload;
|
|
['image-manipulation']: typeof imageManipulation;
|
|
};
|
|
|
|
export function getService<T extends keyof S>(name: T): S[T];
|