Interface representing the constructor for creating instances of FileInstance.

interface FileInstanceConstructor {
    new FileInstanceConstructornew (file: string, folder: FileDirectory): FileInstance;
    prototype: FileInstance;
}

Constructors

Properties

Constructors

  • Creates a new instance of FileInstance.

    Parameters

    • file: string

      The name of the file.

    • folder: FileDirectory

      The directory where the file is located.

    Returns FileInstance

    A new instance of FileInstance.

Properties

prototype: FileInstance

The prototype of FileInstance. This is used to access properties and methods shared across all instances.