chore: lint
This commit is contained in:
@ -1,2 +1,5 @@
|
||||
dist
|
||||
node_modules
|
||||
docs
|
||||
.github
|
||||
.vscode
|
||||
|
||||
@ -9,6 +9,7 @@ export const wsError = ref<any>()
|
||||
export const wsConnectingDebounced = useDebounce(wsConnecting, 2000)
|
||||
|
||||
const connectPromise = connectVite()
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
let onMessage: Function = () => {}
|
||||
|
||||
export const clientFunctions = {
|
||||
|
||||
@ -66,4 +66,4 @@
|
||||
"splitpanes": "^3.1.5",
|
||||
"vitest": "^0.33.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -25,7 +25,7 @@ export interface ClientFunctions {
|
||||
|
||||
export interface Collection {
|
||||
name: string
|
||||
fields?: {}[]
|
||||
fields?: object[]
|
||||
}
|
||||
|
||||
export interface Resource {
|
||||
|
||||
@ -11,5 +11,5 @@ export interface NuxtDevtoolsServerContext {
|
||||
|
||||
refresh: (event: keyof ServerFunctions) => void
|
||||
|
||||
extendServerRpc: <ClientFunctions = {}, ServerFunctions = {}>(name: string, functions: ServerFunctions) => BirpcGroup<ClientFunctions, ServerFunctions>
|
||||
extendServerRpc: <ClientFunctions = object, ServerFunctions = object>(name: string, functions: ServerFunctions) => BirpcGroup<ClientFunctions, ServerFunctions>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user