fix: lint and build errors (#5923)
* fix: lint errors. * fix: build errors
This commit is contained in:
parent
8829575780
commit
b67f352b90
3 changed files with 81 additions and 78 deletions
|
|
@ -26,7 +26,7 @@ interface Props {
|
||||||
isOpen: boolean;
|
isOpen: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const MemberOptions = observer((props: Props) => {
|
export const MemberOptions: React.FC<Props> = observer((props: Props) => {
|
||||||
const { projectId, referenceElement, placement, isOpen, optionsClassName = "" } = props;
|
const { projectId, referenceElement, placement, isOpen, optionsClassName = "" } = props;
|
||||||
// states
|
// states
|
||||||
const [query, setQuery] = useState("");
|
const [query, setQuery] = useState("");
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* eslint-disable no-var */
|
||||||
|
|
||||||
declare namespace Asyncify {
|
declare namespace Asyncify {
|
||||||
function handleAsync(f: () => Promise<any>);
|
function handleAsync(f: () => Promise<any>);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1276,6 +1276,7 @@ declare module 'wa-sqlite/src/examples/IndexedDbVFS.js' {
|
||||||
|
|
||||||
/** @ignore */
|
/** @ignore */
|
||||||
declare module 'wa-sqlite/src/examples/MemoryVFS.js' {
|
declare module 'wa-sqlite/src/examples/MemoryVFS.js' {
|
||||||
|
// eslint-disable-next-line no-duplicate-imports
|
||||||
import * as VFS from "wa-sqlite/src/VFS.js";
|
import * as VFS from "wa-sqlite/src/VFS.js";
|
||||||
/** @ignore */
|
/** @ignore */
|
||||||
export class MemoryVFS extends VFS.Base {
|
export class MemoryVFS extends VFS.Base {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue