Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Commit

Permalink
fix(plaiceholder): add return types
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-bell committed Jun 11, 2021
1 parent 3bae515 commit e434e63
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/plaiceholder/src/plaiceholder.ts
@@ -1,21 +1,21 @@
import { getBase64 } from "./base64";
import { getBlurhash } from "./blurhash";
import { getCSS } from "./css";
import { getBase64, TGetBase64Return } from "./base64";
import { getBlurhash, IGetBlurhashReturn } from "./blurhash";
import { getCSS, IGetCSSReturn } from "./css";
import {
getImage,
TGetImageSrc,
IGetImageOptions,
IGetImageReturn,
} from "./get-image";
import { getSVG } from "./svg";
import { getSVG, TGetSVGReturn } from "./svg";

export type TGetPlaiceholderSrc = TGetImageSrc;
export interface IGetPlaiceholderOptions extends IGetImageOptions {}
export interface IGetPlaiceholderReturn extends Pick<IGetImageReturn, "img"> {
base64: any;
blurhash: any;
css: any;
svg: any;
base64: TGetBase64Return;
blurhash: IGetBlurhashReturn;
css: IGetCSSReturn;
svg: TGetSVGReturn;
}

export interface IGetPlaiceholder {
Expand Down

0 comments on commit e434e63

Please sign in to comment.