chore: lint

This commit is contained in:
Arash Sheyda
2023-07-09 14:27:10 +03:00
parent 9c0e0baf95
commit 0cdba0d764
5 changed files with 7 additions and 3 deletions

View File

@ -1,2 +1,5 @@
dist dist
node_modules node_modules
docs
.github
.vscode

View File

@ -9,6 +9,7 @@ export const wsError = ref<any>()
export const wsConnectingDebounced = useDebounce(wsConnecting, 2000) export const wsConnectingDebounced = useDebounce(wsConnecting, 2000)
const connectPromise = connectVite() const connectPromise = connectVite()
// eslint-disable-next-line @typescript-eslint/ban-types
let onMessage: Function = () => {} let onMessage: Function = () => {}
export const clientFunctions = { export const clientFunctions = {

View File

@ -66,4 +66,4 @@
"splitpanes": "^3.1.5", "splitpanes": "^3.1.5",
"vitest": "^0.33.0" "vitest": "^0.33.0"
} }
} }

View File

@ -25,7 +25,7 @@ export interface ClientFunctions {
export interface Collection { export interface Collection {
name: string name: string
fields?: {}[] fields?: object[]
} }
export interface Resource { export interface Resource {

View File

@ -11,5 +11,5 @@ export interface NuxtDevtoolsServerContext {
refresh: (event: keyof ServerFunctions) => void 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>
} }