Skip to main content
The Deno 2 Release Candidate is here
Learn more
method CustomItemService.prototype.updateBaseItemPropertiesWithOverrides
import { CustomItemService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";

Iterates through supplied properties and updates the cloned items properties with them Complex objects cannot have overrides, they must be fully hydrated with values if they are to be used

Parameters

overrideProperties: Props

new properties to apply

itemClone: ITemplateItem

item to update