Skip to content

Commit

Permalink
Update packages/image/src/load.ts
Browse files Browse the repository at this point in the history
Co-authored-by: 정충일 <[email protected]>
  • Loading branch information
manudeli and tooooo1 authored Sep 24, 2023
1 parent 2cec97e commit 2e09565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/image/src/load.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Loads the given images. If WebP is WebP source is provided, it will load that. Otherwise, it loads the default source.
* Loads an image from the given source URL and returns a Promise that resolves to the loaded image.
*/
export const load = (src: HTMLImageElement["src"]) =>
new Promise<HTMLImageElement>((resolve, reject) => {
Expand Down

0 comments on commit 2e09565

Please sign in to comment.