Skip to content

Commit

Permalink
Modify variable type
Browse files Browse the repository at this point in the history
Signed-off-by: gaobinlong <gbinlong@amazon.com>
  • Loading branch information
gaobinlong committed Feb 29, 2024
1 parent ffec458 commit 4af23a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface MigrationOpts {
documentMigrator: VersionedTransformer;
serializer: SavedObjectsSerializer;
convertToAliasScript?: string;
extendedMappingProperties?: SavedObjectsMappingProperties;
extendedMappingProperties?: SavedObjectsMappingProperties[];

/**
* If specified, templates matching the specified pattern will be removed
Expand Down Expand Up @@ -132,7 +132,7 @@ function createDestContext(
source: Index.FullIndexInfo,
alias: string,
typeMappingDefinitions: SavedObjectsTypeMappingDefinitions,
extendedMappingProperties?: SavedObjectsMappingProperties
extendedMappingProperties?: SavedObjectsMappingProperties[]
): Index.FullIndexInfo {
const targetMappings = disableUnknownTypeMappingFields(
buildActiveMappings(typeMappingDefinitions, extendedMappingProperties),
Expand Down

0 comments on commit 4af23a7

Please sign in to comment.