DemoVaultNonTrivialGuardSpec
Configures the guard that the reflected surface is non-trivial (protects against a parsing regression silently emptying every other check).
Import:
import type { DemoVaultNonTrivialGuardSpec } from 'obsidian-dev-utils/script-utils/demo-vault-coverage';Signature:
export interface DemoVaultNonTrivialGuardSpecProperties
| Property | Type | Description |
|---|---|---|
| expectDemoNote | string | A demo note (path relative to the demo vault) that must be present. |
| expectMember | string | A member that must be reflected from DemoVaultNonTrivialGuardSpec.interfaceName. |
| interfaceName | string | The name of the export interface, export class, or export enum whose members are re-parsed for the guard. |
| sourcePath | string | The source file path (relative to the repo root) that declares the interface, class, or enum. |
Links to this page: