ContextOf<T>
Extracts the context type from a ContextId.
Import:
import type { ContextOf } from 'obsidian-integration-testing';Signature:
export type ContextOf<T>Signature:
type ContextOf<T> = T extends ContextId<infer Context> ? Context : neverType: T extends ContextId<infer Context> ? Context : never
Links to this page: