On this pageType Alias: FileExportOpts FileExportOpts = object Properties allowParentDirPath? optional allowParentDirPath: boolean If allowParentDirPath is true, the path argument can be a directory path, in which case the file will be created in that directory.