Skip to main content

Function: isTypefestConfigReference()

function isTypefestConfigReference(
value: string
): value is
| "typefest.configs.all"
| "typefest.configs.experimental"
| "typefest.configs.minimal"
| "typefest.configs.recommended"
| "typefest.configs.recommended-type-checked"
| "typefest.configs.strict"
| "typefest.configs.ts-extras/type-guards"
| "typefest.configs.type-fest/types"
| 'typefest.configs["recommended-type-checked"]'
| 'typefest.configs["ts-extras/type-guards"]'
| 'typefest.configs["type-fest/types"]';

Defined in: _internal/typefest-config-references.ts:142

Check whether a string is a supported meta.docs.recommended reference.

Parametersโ€‹

valueโ€‹

string

Returnsโ€‹

value is "typefest.configs.all" | "typefest.configs.experimental" | "typefest.configs.minimal" | "typefest.configs.recommended" | "typefest.configs.recommended-type-checked" | "typefest.configs.strict" | "typefest.configs.ts-extras/type-guards" | "typefest.configs.type-fest/types" | "typefest.configs["recommended-type-checked"]" | "typefest.configs["ts-extras/type-guards"]" | "typefest.configs["type-fest/types"]"