Skip to content

Files

Latest commit

 

History

History
41 lines (21 loc) · 710 Bytes

resolveConfigForSource.md

File metadata and controls

41 lines (21 loc) · 710 Bytes

APIs Documentation


Function: resolveConfigForSource()

resolveConfigForSource<T>(text, config?): T

Resolve config for given source text.

This function will detect EOL for the text and update the base config provided.

Type Parameters

T extends Configuration = Configuration

Parameters

text

string

Source text

config?

T

Base config

Returns

T

Typeparam

T - A type extended from Configuration

Defined in

config/index.ts:27