You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
normalizeUrl('www.sindresorhus.com/foo/default.php',{removeDirectoryIndex: true});// Type 'true' is not assignable to type 'readonly (string | RegExp)[] | undefined'.
In readme.md, type of removeDirectoryIndex is boolean | Array<RegExp | string>, but in index.d.ts, it is ReadonlyArray<RegExp | string>.