Skip to main content
Module

std/csv/mod.ts>RecordWithColumn

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
type alias RecordWithColumn
Re-export
import { type RecordWithColumn } from "https://deno.land/std@0.218.0/csv/mod.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>