Skip to content

Commit

Permalink
fix(core): DataSourceManagerConfigOption generic OPTIONS now no chang…
Browse files Browse the repository at this point in the history
…es by PowerPartial (#4013)
  • Loading branch information
waitingsong authored Aug 29, 2024
1 parent aa2129e commit d4b048f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -483,12 +483,12 @@ export type CreateDataSourceInstanceOptions = {
}

export type DataSourceManagerConfigOption<OPTIONS, ENTITY_CONFIG_KEY extends string = 'entities'> = {
default?: PowerPartial<OPTIONS>;
default?: OPTIONS;
defaultDataSourceName?: string;
dataSource?: {
[key: string]: PowerPartial<{
[keyName in ENTITY_CONFIG_KEY]: any[];
} & OPTIONS>;
}> & OPTIONS;
};
} & CreateDataSourceInstanceOptions;

Expand Down

0 comments on commit d4b048f

Please sign in to comment.