fix ts
This commit is contained in:
parent
b4824c6944
commit
5b93bd42dc
@ -23,7 +23,7 @@ import {
|
|||||||
POWERPAINT,
|
POWERPAINT,
|
||||||
} from "@/lib/const"
|
} from "@/lib/const"
|
||||||
import { RowContainer, LabelTitle } from "./LabelTitle"
|
import { RowContainer, LabelTitle } from "./LabelTitle"
|
||||||
import { Minus, Plus, Upload } from "lucide-react"
|
import { Upload } from "lucide-react"
|
||||||
import { useClickAway } from "react-use"
|
import { useClickAway } from "react-use"
|
||||||
|
|
||||||
const ExtenderButton = ({
|
const ExtenderButton = ({
|
||||||
|
@ -204,7 +204,7 @@ export async function getSamplers(): Promise<string[]> {
|
|||||||
|
|
||||||
export async function postAdjustMask(
|
export async function postAdjustMask(
|
||||||
mask: File | Blob,
|
mask: File | Blob,
|
||||||
operate: "expand" | "shrink",
|
operate: "expand" | "shrink" | "reverse",
|
||||||
kernel_size: number
|
kernel_size: number
|
||||||
) {
|
) {
|
||||||
const maskBase64 = await convertToBase64(mask)
|
const maskBase64 = await convertToBase64(mask)
|
||||||
|
Loading…
Reference in New Issue
Block a user