Function describeWHFSType
- describeWHFSType(
type: keyof WHFSTypes,
options: { allowMissing?: boolean; metaType: "fileType" },
): Promise<FileTypeInfo>Parameters
- type: keyof WHFSTypes
- options: { allowMissing?: boolean; metaType: "fileType" }
Returns Promise<FileTypeInfo>
- describeWHFSType(
type: keyof WHFSTypes,
options: { allowMissing?: boolean; metaType: "folderType" },
): Promise<FolderTypeInfo>Parameters
- type: keyof WHFSTypes
- options: { allowMissing?: boolean; metaType: "folderType" }
Returns Promise<FolderTypeInfo>
- describeWHFSType(
type: string | number,
options: { allowMissing?: boolean; metaType: "fileType" },
): Promise<FileTypeInfo>Parameters
- type: string | number
- options: { allowMissing?: boolean; metaType: "fileType" }
Returns Promise<FileTypeInfo>
- describeWHFSType(
type: string | number,
options: { allowMissing?: boolean; metaType: "folderType" },
): Promise<FolderTypeInfo>Parameters
- type: string | number
- options: { allowMissing?: boolean; metaType: "folderType" }
Returns Promise<FolderTypeInfo>
- describeWHFSType(
type: string | number,
options: { allowMissing: true; metaType?: "fileType" | "folderType" },
): Promise<null | WHFSTypeInfo>Parameters
- type: string | number
- options: { allowMissing: true; metaType?: "fileType" | "folderType" }
Returns Promise<null | WHFSTypeInfo>
- describeWHFSType(
type: string | number,
options?: { metaType?: "fileType" | "folderType" },
): Promise<WHFSTypeInfo>Parameters
- type: string | number
Optionaloptions: { metaType?: "fileType" | "folderType" }
Returns Promise<WHFSTypeInfo>
- describeWHFSType(
type: string | number,
options?: { allowMissing?: boolean; metaType?: "fileType" | "folderType" },
): Promise<null | WHFSTypeInfo>Parameters
- type: string | number
Optionaloptions: { allowMissing?: boolean; metaType?: "fileType" | "folderType" }
Returns Promise<null | WHFSTypeInfo>