2023-04-06 08:51:19 +00:00
|
|
|
// Type definitions for third-party packages.
|
|
|
|
|
2023-04-15 10:02:21 +00:00
|
|
|
declare module "esbuild-copy-static-files" {
|
|
|
|
import {type cpSync} from "node:fs";
|
|
|
|
import {type Plugin} from "esbuild";
|
2023-04-06 08:51:19 +00:00
|
|
|
|
|
|
|
type CopySyncParameters = Parameters<typeof cpSync>;
|
|
|
|
|
|
|
|
type Options = {
|
|
|
|
src?: CopySyncParameters[0];
|
|
|
|
dest?: CopySyncParameters[1];
|
|
|
|
} & CopySyncParameters[2];
|
|
|
|
|
|
|
|
export default function (options: Options): Plugin;
|
|
|
|
}
|