Skip to content

Commit

Permalink
feat: add basic typing to the index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Hecht committed Dec 18, 2024
1 parent b22a872 commit ce3fbb0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Config } from 'typescript-eslint';

type Configs = 'base' | 'local' | 'playwright' | 'prettier-disable' | 'react' | 'strict';

declare module './index' {
const config: typeof import('typescript-eslint').config;
const configs: Record<Configs, Config>;

export { config, configs };
}

0 comments on commit ce3fbb0

Please sign in to comment.