UNPKG

@yandex/ymaps3-types

Version:

Types for ymaps3 maps library

10 lines (9 loc) 405 B
import type { Vec2 } from "./vec2"; type EasingBezierPreset = { p1: Vec2; p2: Vec2; }; type EasingFunction = (x: number) => number; type EasingPresetName = 'linear' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out'; type EasingFunctionDescription = EasingPresetName | EasingBezierPreset | EasingFunction; export { EasingFunctionDescription, EasingPresetName, EasingBezierPreset, EasingFunction };