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

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

Constructors

Properties

Constructors

  • Parameters

    • Rest...args: any[]

    Returns any

Properties

documentName: string