Skip to content

Commit 737860b

Browse files
committed
fix: remove any to satisfy the picky linter ✅
1 parent 7608fc8 commit 737860b

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

packages/headless/cypress.config.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ import { defineConfig } from 'cypress';
22
import { mergeConfig } from 'vite';
33
import viteConfig from './vite.config';
44

5-
export default defineConfig({
5+
const cypressConfig = {
66
component: {
77
devServer: {
88
bundler: 'vite',
99
viteConfig: mergeConfig(viteConfig, { mode: 'test' }),
10-
} as any,
10+
},
1111
},
12-
});
12+
};
13+
14+
export default defineConfig(
15+
cypressConfig as Cypress.ConfigOptions<typeof cypressConfig>
16+
);

packages/headless/src/components/action-button/action-button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { type ActionStore, Form } from '@builder.io/qwik-city';
33
import { QwikIntrinsicElements } from '@builder.io/qwik';
44

55
export type ActionButtonProps = QwikIntrinsicElements['button'] & {
6-
action: ActionStore<any, any>;
6+
action: ActionStore<unknown, unknown>;
77
children: JSXChildren;
8-
params?: Record<string, any>;
8+
params?: Record<string, null>;
99
};
1010

1111
export const ActionButton = ({

packages/headless/src/components/breadcrumb/breadcrumb-item.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import {
22
component$,
33
HTMLAttributes,
44
Slot,
5-
useStyles$,
65
useStylesScoped$,
76
} from '@builder.io/qwik';
87
import styles from './breadcrumb-item.css?inline';

0 commit comments

Comments
 (0)