Remove lodash (#12628)
* Replace `groupBy` * Replace `partition` * Replace `pick` * Move `partition` * Replace `uniqBy` * Replace `fromPairs` * Remove usage from website * Reuse `partition` * Remove from package.json * Fix * Use `ignore.default` * Add `resolveConfig` to `FileInfoOptions` * Explicit tuple types * Make `cache` optional * Fix cosmiconfig type * Use `@ts-expect-error` for private property access * Add type annotation for validate * Fix type errors for `OptionInfo` * Add `@ts-expect-error` * Fix type of `normalizeOptions` * Fix `OptionInfo` type * Add `@ts-expect-error` for `option-normalizer` * Avoid type error * Fix typo * Add types for lodash fns Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
1 parent
991708420a
commit
fa3b95c2e1
19 files changed
+155
-33
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import * as React from "react";
|
||||
import groupBy from "lodash/groupBy";
|
||||
import { groupBy } from "../../../src/cli/utils.js";
|
||||
|
||||
import { SidebarCategory } from "./components.js";
|
||||
import Option from "./options.js";
|
||||
|
||||
Reference in new issue
Block a user