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

3.0.3 • Public • Published

Installation

npm install --save @types/intrinsic-scale

Summary

This package contains type definitions for intrinsic-scale (https://github.com/bfred-it/intrinsic-scale#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/intrinsic-scale.

index.d.ts

export function contain(
    parentWidth: number,
    parentHeight: number,
    childWidth: number,
    childHeight: number,
): IntrinsicScale;
export function cover(
    parentWidth: number,
    parentHeight: number,
    childWidth: number,
    childHeight: number,
): IntrinsicScale;

export interface IntrinsicScale {
    width: number;
    height: number;
    x: number;
    y: number;
}

Additional Details

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

Credits

These definitions were written by shalomdotnet.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/intrinsic-scale

Weekly Downloads

1,010

Version

3.0.3

License

MIT

Unpacked Size

3.39 kB

Total Files

5

Last publish

Collaborators

  • types