UNPKG

jsr-exports-lint

Version:
16 lines (14 loc) 492 B
import { BuildContext } from "tsdown"; //#region src/tsdown.d.ts /** * Lint `exports` field of JSR manifest file for tsdown hooks * @param jsrPath The path to the `jsr.json` file. * @returns A tsdown hook */ /** * Lint `exports` field of JSR manifest file for tsdown hooks * @param jsrPath The path to the `jsr.json` file. * @returns A tsdown hook */ declare function lintJsrExports(jsrPath?: string): (ctx: BuildContext) => void | Promise<void>; //#endregion export { lintJsrExports };