Skip to content

@npm9912/v-map


@npm9912/v-map / index / JSX / OneOf

Type Alias: OneOf<K, PropT, AttrT>

OneOf<K, PropT, AttrT> = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never }

Defined in: src/components.d.ts:1331

Type Parameters

K

K extends string

PropT

PropT

AttrT

AttrT = PropT