Skip to content

Commit 231bc8e

Browse files
committed
chore: typecheck
1 parent 34bb0d1 commit 231bc8e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/configs/stylistic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export async function stylistic(
3636
pluginName: 'style',
3737
quotes,
3838
semi,
39-
})
39+
}) as TypedFlatConfigItem
4040

4141
return [
4242
{

test/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ import type { TypedFlatConfigItem } from '../src'
44

55
// Make sure they are compatible
66
((): Linter.Config => ({} as TypedFlatConfigItem))();
7+
// @ts-expect-error not working well for some reason
78
((): TypedFlatConfigItem => ({} as Linter.Config))()

0 commit comments

Comments
 (0)