From 449e0d5ca06a4bd13706c9bb3649b2b973cc6360 Mon Sep 17 00:00:00 2001 From: pimothyxd <29018740+pimothyxd@users.noreply.github.com> Date: Mon, 30 Jun 2025 15:39:35 +0200 Subject: [PATCH] chore: fix typo --- lib/interceptor/cache.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/interceptor/cache.js b/lib/interceptor/cache.js index b981ebf9e01..a2f235b8db3 100644 --- a/lib/interceptor/cache.js +++ b/lib/interceptor/cache.js @@ -301,11 +301,11 @@ module.exports = (opts = {}) => { assertCacheMethods(methods, 'opts.methods') if (typeof cacheByDefault !== 'undefined' && typeof cacheByDefault !== 'number') { - throw new TypeError(`exepcted opts.cacheByDefault to be number or undefined, got ${typeof cacheByDefault}`) + throw new TypeError(`expected opts.cacheByDefault to be number or undefined, got ${typeof cacheByDefault}`) } if (typeof type !== 'undefined' && type !== 'shared' && type !== 'private') { - throw new TypeError(`exepcted opts.type to be shared, private, or undefined, got ${typeof type}`) + throw new TypeError(`expected opts.type to be shared, private, or undefined, got ${typeof type}`) } const globalOpts = {