refactor: unwrap Ripgrep namespace + self-reexport (#22965)
This commit is contained in:
@@ -8,7 +8,6 @@ import { ripgrep } from "ripgrep"
|
|||||||
import { Filesystem } from "@/util"
|
import { Filesystem } from "@/util"
|
||||||
import { Log } from "@/util"
|
import { Log } from "@/util"
|
||||||
|
|
||||||
export namespace Ripgrep {
|
|
||||||
const log = Log.create({ service: "ripgrep" })
|
const log = Log.create({ service: "ripgrep" })
|
||||||
|
|
||||||
const Stats = z.object({
|
const Stats = z.object({
|
||||||
@@ -572,4 +571,5 @@ export namespace Ripgrep {
|
|||||||
)
|
)
|
||||||
|
|
||||||
export const defaultLayer = layer
|
export const defaultLayer = layer
|
||||||
}
|
|
||||||
|
export * as Ripgrep from "./ripgrep"
|
||||||
|
|||||||
Reference in New Issue
Block a user