mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-24 22:25:15 +00:00
fix: lint errors
This commit is contained in:
@@ -43,7 +43,7 @@ export function createProjects() {
|
||||
return projects
|
||||
}
|
||||
|
||||
export function prepareProjects(setProjects = (...args: any[]) => {
|
||||
export function prepareProjects(setProjects = (..._: unknown[]) => {
|
||||
}) {
|
||||
beforeEach(() => {
|
||||
const projects = createProjects()
|
||||
|
||||
@@ -5,6 +5,6 @@ import '@4tw/cypress-drag-drop'
|
||||
// see https://github.com/cypress-io/cypress/issues/702#issuecomment-587127275
|
||||
Cypress.on('window:before:load', (win) => {
|
||||
// disable service workers
|
||||
// @ts-ignore
|
||||
// @ts-expect-error __proto__ has no types
|
||||
delete win.navigator.__proto__.ServiceWorker
|
||||
})
|
||||
@@ -9,6 +9,6 @@ export interface ITaskBucket extends IAbstract {
|
||||
bucketId: IBucket['id']
|
||||
projectViewId: IProjectView['id']
|
||||
projectId: IProject['id']
|
||||
task: ?ITask
|
||||
bucket: ?IBucket
|
||||
task: ITask | null | undefined
|
||||
bucket: IBucket | null | undefined
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user