npm.io
2.0.3 • Published 2 years ago

@types/modularscale

Licence
MIT
Version
2.0.3
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
51.3K

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 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Cyril CHAPON.