Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

typealias libtmux-ts latest

DecodedFormatValue

What a caller reads for one field, once the text has been decoded.

Source and package
Qualified name
DecodedFormatValue
Module
field_types
Package
libtmux
Source
packages/libtmux/src/field_types.ts
type field_types.DecodedFormatValue<Token extends FormatFieldName> = Token extends keyof FormatValueTypes ? FormatValueTypes[Token] extends "pane-id" ? PaneId : FormatValueTypes[Token] extends "session-id" ? SessionId : FormatValueTypes[Token] extends "window-id" ? WindowId : FormatValueTypes[Token] extends "number" ? SafeInteger : FormatValueTypes[Token] extends "boolean" ? boolean : Date : string
Type parameters
Esc

Type to search.

Reference previewOpen reference