fix: lint errors
This commit is contained in:
parent
d4133ae491
commit
38e09b68bd
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue