ConfigMethodKeys
katanakit-js / ConfigMethodKeys
Type Alias: ConfigMethodKeys<T>
Section titled “Type Alias: ConfigMethodKeys<T>”type ConfigMethodKeys<T> = { [K in keyof T]-?: NonNullable<T[K]> extends ConfigMethod ? K : never;}[keyof T];Defined in: types/core/config-facade.ts:14
Keys of T whose value is a ConfigMethod. Methods declared as
optional are still detected (NonNullable), so they are split out of the
config half rather than leaking into it.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T |