UNPKG

tone

Version:

A Web Audio framework for making interactive music in the browser.

10 lines (9 loc) 386 B
/** * Assert that the number is in the given range. */ export declare function range(min: number, max?: number): (target: any, propertyKey: string | symbol) => void; /** * Convert the time to seconds and assert that the time is in between the two * values when being set. */ export declare function timeRange(min: number, max?: number): (target: any, propertyKey: string) => void;