mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
14 lines
446 B
TypeScript
14 lines
446 B
TypeScript
// Type definitions for aspect-fit 1.0
|
|
// Project: https://github.com/maxtherocket/aspect-fit#readme
|
|
// Definitions by: Rajas Paranjpe <https://github.com/ChocolateLoverRaj>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
interface Output {
|
|
scale: number;
|
|
width: number;
|
|
height: number;
|
|
}
|
|
declare function aspectFit(width: number, height: number, parentWidth: number, parentHeight: number): Output;
|
|
|
|
export = aspectFit;
|