message: Fix mistakes in Folder
diff: @@ -20,34 +20,42 @@ declare global {
  * @remarks For folders that have been populated by the {@link SidebarDirectory}, this is always be defined
  */
  depth?: number;
  +
  /**
  * Return an array of the Document instances which are contained within this Folder.
  */
  get contents(): InstanceType<typeof CONFIG[this['data']['type']]['documentClass']>[];
  +
  /**
  * Return whether the folder is displayed in the sidebar to the current user
  */
  get displayed(): boolean;
  +
  /**
  * Return a reference to the Document type which is contained within this Folder.
  */
  get documentClass(): typeof CONFIG[this['data']['type']]['documentClass'];
  +
  /**
  * Return a reference to the WorldCollection instance which provides Documents to this Folder.
  */
  get documentCollection(): Collection<InstanceType<typeof CONFIG[this['data']['type']]['documentClass']>>; // TODO: WorldCollection or ReturnType<Game['collections]['get]>
  +
  /**
  * Return whether the folder is currently expanded within the sidebar interface.
  */
  get expanded(): boolean;
  +
  /**
  * A reference to the parent Folder if one is set, otherwise null.
  */
  get parentFolder(): Folder | null;
  +
  /**
  * Return the named Entity type for elements in this folder.
  */
  get type(): this['data']['type'];
  +
  /**
  * Create a new Folder by rendering a dialog window to provide basic creation details
  * @param data - Initial data with which to populate the creation form
  @@ -61,6 +69,7 @@ declare global {
  * Document is returned.
  */
  static createDialog(data?: DeepPartial<SourceDataType<Folder>>, options?: Dialog.Options): any;
  +
  /**
  * Export all Documents contained in this Folder to a given Compendium pack.
  * Optionally update existing Documents within the Pack by name, otherwise append all new entries.
  @@ -70,6 +79,7 @@ declare global {
  * @returns The updated Compendium Collection instance
  */
  exportToCompendium(pack: any, { updateByName }?: { updateByName?: boolean }): Promise<any>; // TODO: CompendiumCollection
  +
  /**
  * Provide a dialog form that allows for exporting the contents of a Folder into an eligible Compendium pack.
  * @param pack - A pack ID to set as the default choice in the select input
  @@ -78,6 +88,7 @@ declare global {
  * @returns A Promise which resolves or rejects once the dialog has been submitted or closed
  */
  exportDialog(pack: string, options?: Dialog.Options): Promise<void>;
  +
  /**
  * Get the Folder documents which are sub-folders of the current folder, either direct children or recursively.
  * @param recursive - Identify child folders recursively, if false only direct children are returned
  @@ -85,7 +96,9 @@ declare global {
  * @returns An array of Folder documents which are subfolders of this one
  */
  getSubfolders(recursive?: boolean): InstanceType<ConfiguredDocumentClass<typeof Folder>>[];
  - _onDelete(options: DocumentModificationOptions, userId: string): void;
  +
  + protected _onDelete(options: DocumentModificationOptions, userId: string): void;
  +
  /**
  * @deprecated since 0.8.0
  */
  