Directus / @directus/extensions-sdk / defineInterface
Function: defineInterface() ​
defineInterface<
Custom
>(config
): { [K in string | number | symbol]: (InterfaceConfig & Omit<Custom, keyof InterfaceConfig>)[K] }
Defined in: packages/extensions/dist/index.d.ts:1705
Type Parameters ​
• Custom extends CustomConfig
<InterfaceConfig
>
Parameters ​
config ​
{ [K in string | number | symbol]: (InterfaceConfig & Omit<Custom, keyof InterfaceConfig>)[K] }
Returns ​
{ [K in string | number | symbol]: (InterfaceConfig & Omit<Custom, keyof InterfaceConfig>)[K] }