Options
All
  • Public
  • Public/Protected
  • All
Menu

An interface for a file type.

Hierarchy

  • IFileType

Index

Properties

Readonly contentType

contentType: ContentType

The content type of the new file.

Optional Readonly displayName

displayName: string

An optional display name for the file type.

Readonly extensions

extensions: readonly string[]

The extensions of the file type (e.g. ".txt"). Can be a compound extension (e.g. ".table.json).

Readonly fileFormat

fileFormat: FileFormat

The format of the new file.

Optional Readonly icon

icon: LabIcon

The icon for the file type.

Optional Readonly iconClass

iconClass: string

The icon class name for the file type.

Optional Readonly iconLabel

iconLabel: string

The icon label for the file type.

Readonly mimeTypes

mimeTypes: readonly string[]

The mime types associated the file type.

Readonly name

name: string

The name of the file type.

Optional Readonly pattern

pattern: string

An optional pattern for a file name (e.g. ^Dockerfile$).

Generated using TypeDoc