@types/modularscale
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

Installation

npm install --save @types/modularscale

Summary

This package contains type definitions for modularscale (https://github.com/KyleAMathews/modularscale).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/modularscale.

index.d.ts

export = modularscale;

declare function modularscale(value: number, ratio?: number | modularscale.RatioLiteral): number;

declare namespace modularscale {
    type RatioLiteral =
        | "minor second"
        | "major second"
        | "minor third"
        | "major third"
        | "augmented fourth"
        | "perfect fifth"
        | "minor sixth"
        | "golden"
        | "phi"
        | "major sixth"
        | "minor seventh"
        | "major seventh"
        | "octave"
        | "major tenth"
        | "major eleventh"
        | "major twelfth"
        | "double octave";
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Cyril CHAPON.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/modularscale

Weekly Downloads

288

Version

2.0.3

License

MIT

Unpacked Size

3.76 kB

Total Files

5

Last publish

Collaborators

  • types