diff --git a/packages/client/ui-sidebar-right/src/client/contract/params.ts b/packages/client/ui-sidebar-right/src/client/contract/params.ts index 756cc7468e..c0e56a4058 100644 --- a/packages/client/ui-sidebar-right/src/client/contract/params.ts +++ b/packages/client/ui-sidebar-right/src/client/contract/params.ts @@ -16,14 +16,14 @@ * constituent. The indexed access names the same union without the pair. */ +/** The values of a record, as one union. */ +type ValuesOf = T[keyof T] + /** Content owned by the open tab; bytes and text are not persisted in layout. */ export type PreviewContent = | { readonly mediaType: string; readonly text: string } | { readonly mediaType: string; readonly bytes: Uint8Array } -/** The values of a record, as one union. */ -type ValuesOf = T[keyof T] - /** Resource type → the parameters a resource of that type accepts. Merge-extensible. */ export interface SidebarRightResourceParamsMap { /** Transient input supplied by sidebarRight.openContent for this navigation. */