refactor: Enable jsdoc/valid-types rule

This commit is contained in:
Joachim Van Herwegen
2024-03-13 16:50:02 +01:00
parent 5fc4ce8f73
commit 3e59aa4b55
3 changed files with 5 additions and 4 deletions

View File

@@ -177,7 +177,7 @@ export class BaseFileIdentifierMapper implements FileIdentifierMapper {
* Strips the baseRequestURI from the identifier.
* @param identifier - Incoming identifier.
*
* @throws {@link NotFoundHttpError}
* @throws NotFoundHttpError
* If the identifier does not match the baseRequestURI.
*
* @returns A string representing the relative path.
@@ -193,7 +193,7 @@ export class BaseFileIdentifierMapper implements FileIdentifierMapper {
/**
* Check if the given relative path is valid.
*
* @throws {@link BadRequestHttpError}
* @throws BadRequestHttpError
* If the relative path is invalid.
*
* @param path - A relative path, as generated by {@link getRelativePath}.