We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34bb0d1 commit 231bc8eCopy full SHA for 231bc8e
src/configs/stylistic.ts
@@ -36,7 +36,7 @@ export async function stylistic(
36
pluginName: 'style',
37
quotes,
38
semi,
39
- })
+ }) as TypedFlatConfigItem
40
41
return [
42
{
test/types.ts
@@ -4,4 +4,5 @@ import type { TypedFlatConfigItem } from '../src'
4
5
// Make sure they are compatible
6
((): Linter.Config => ({} as TypedFlatConfigItem))();
7
+// @ts-expect-error not working well for some reason
8
((): TypedFlatConfigItem => ({} as Linter.Config))()
0 commit comments