typeassert.default.AssertPredicatetype AssertPredicate =| RegExp| new () => object| (thrown: unknown) => boolean| object| ErrorReferenced typesinterface Errorcause?: unknownThe cause of the error.message: stringname: stringstack?: string