Provides a basic duck type for Foundry documents. Expects a constructor / class w/ static property name.

interface NamedDocumentConstructor {
    new NamedDocumentConstructor(...args: any[]): any;
    documentName: string;
}

Constructors

Properties

Constructors

  • Parameters

    • ...args: any[]

    Returns any

Properties

documentName: string