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