The DimensionType class in @minecraft/server.
Class in @minecraft/server
import { DimensionType } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”typeId
Section titled “typeId”read-only
readonly typeId: string;