// @ts-nocheck import type { DisplayObject } from '../../display-objects'; import type { CSSUnitValue } from '../cssom'; import type { CSSProperty } from '../CSSProperty'; import { mergeNumbers } from '../parser'; import { convertAngleUnit, parseAngle } from '../parser/dimension'; export class CSSPropertyAngle implements Partial> { parser = parseAngle; parserWithCSSDisabled = null; mixer = mergeNumbers; calculator( name: string, oldParsed: CSSUnitValue, parsed: CSSUnitValue, object: DisplayObject, ) { return convertAngleUnit(parsed); } }