Skip to content

Commit

Permalink
chore: add tests for "eslint/universal" types
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Sep 13, 2024
1 parent 3a89ac8 commit c4a49ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types/universal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
* @author 唯然<weiran.zsd@outlook.com>
*/

export { Linter } from "./index.d.ts";
export type { Linter } from "./index.d.ts";
1 change: 1 addition & 0 deletions tests/lib/types/types.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

import { AST, ESLint, Linter, loadESLint, Rule, RuleTester, Scope, SourceCode } from "eslint";
import { ESLintRules } from "eslint/rules";
import { Linter as ESLinter } from "eslint/universal";
import {
builtinRules,
FileEnumerator,
Expand Down

0 comments on commit c4a49ad

Please sign in to comment.