@uppy/provider-views
Version:
View library for Uppy remote provider plugins.
8 lines • 374 B
TypeScript
import type { PartialTree } from '@uppy/core';
/**
* One-level copying is sufficient as mutations within our `partialTree` are limited to properties
* such as `.status`, `.cached`, `.nextPagePath`, and not `.data = { THIS }`.
*/
declare const shallowClone: (partialTree: PartialTree) => PartialTree;
export default shallowClone;
//# sourceMappingURL=shallowClone.d.ts.map