GuidePluginsTestingAPI
Seyfert LogoSeyfert
API

StructWhen

API/Interfaces/StructWhen
seyfert/lib/common/types/util.d.ts

Signature

export interface StructWhen<Prop = any, State extends keyof StructWhen = 'cached'>

Properties

3
cachedapicreate

Methods

0

No methods.

Properties

cached#
cached: Prop | undefined;
api#
api: State extends 'api' ? Prop : undefined;
create#
create: State extends 'create' ? Prop : undefined;