diff --git a/source/lib/utils/infer-label.ts b/source/lib/utils/infer-label.ts index 7e149ac..974d3d4 100644 --- a/source/lib/utils/infer-label.ts +++ b/source/lib/utils/infer-label.ts @@ -9,6 +9,7 @@ const labelRegex = /^.*?\((.*?)[,)]/; /** * Infer the label of the caller. * + * @hidden * @param callsites - List of stack frames. */ export const inferLabel = (callsites: CallSite[]) => { diff --git a/source/test/fixtures/create-error.ts b/source/test/fixtures/create-error.ts index 67c8e14..c0b7f9d 100644 --- a/source/test/fixtures/create-error.ts +++ b/source/test/fixtures/create-error.ts @@ -1,3 +1,6 @@ +/** + * @hidden + */ export const createAnyError = (...errors: string[]) => { return [ 'Any predicate failed with the following errors:',