Skip to main content Link Search Menu Expand Document (external link)

TemplatePart overview

This module implements CVTemplatePart’s which are the constituents of CVTemplate’s (see Template.ts).

There are two kinds of CVTemplatePart’s: CVTemplateSeparator’s (see TemplateSeparator.ts) and CVTemplatePlaceholder’s (see TemplatePlaceholder.ts)


Table of contents


Guards

isPlaceholder

Type guard

Signature

export declare const isPlaceholder: <const N extends string, T>(u: Type<N, T>) => u is CVTemplatePlaceholder.Type<N, T>

isSeparator

Type guard

Signature

export declare const isSeparator: <const N extends string, T>(u: Type<N, T>) => u is CVTemplateSeparator.Type

Models

Type (type alias)

Type of a TemplatePart

Signature

export type Type<N extends string, T> = CVTemplateSeparator.Type | CVTemplatePlaceholder.Type<N, T>