type

abstract external var type: WorkerType?(source)

MDN Reference