From c349da2e43307801f1549f14a4356ac2eb6b8c11 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Tue, 23 Jul 2024 13:06:03 +1000 Subject: [PATCH] chore(fs): remove redundant constructor examples (#5511) chore(fs): remove constructor examples --- fs/move.ts | 7 ------- fs/walk.ts | 7 ------- 2 files changed, 14 deletions(-) diff --git a/fs/move.ts b/fs/move.ts index 809b4b44e..d1dccf1c3 100644 --- a/fs/move.ts +++ b/fs/move.ts @@ -27,13 +27,6 @@ export class SubdirectoryMoveError extends Error { * * @param src The source file or directory as a string or URL. * @param dest The destination file or directory as a string or URL. - * - * @example Usage - * ```ts no-eval - * import { SubdirectoryMoveError } from "@std/fs/move"; - * - * throw new SubdirectoryMoveError("./foo", "./foo/bar"); - * ``` */ constructor(src: string | URL, dest: string | URL) { super( diff --git a/fs/walk.ts b/fs/walk.ts index a70a8121d..dd60aeb94 100644 --- a/fs/walk.ts +++ b/fs/walk.ts @@ -50,13 +50,6 @@ export class WalkError extends Error { * * @param cause The cause of the error. * @param root The root directory that's being walked. - * - * @example Usage - * ```ts no-eval - * import { WalkError } from "@std/fs/walk"; - * - * throw new WalkError("error message", "./foo"); - * ``` */ constructor(cause: unknown, root: string) { super(