Module

std/csv/parse.ts>RecordWithColumn

The Deno Standard Library
Latest
type alias RecordWithColumn
import { type RecordWithColumn } from "https://dotland.deno.dev/std@0.224.0/csv/parse.ts";

Record type with column type.

Examples

Example 1

type RecordWithColumn<"aaa"|"bbb"> => Record<"aaa"|"bbb", string>
type RecordWithColumn<string> => Record<string, string | undefined>

Type Parameters

C extends string
definition: string extends C ? Record<string, string | undefined> : Record<C, string>
import RecordWithColumn
import { RecordWithColumn } from "https://dotland.deno.dev/std@0.224.0/csv/parse.ts";