type

abstract external var type: String?(source)

MDN Reference