mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Make no-extra-parens rule stricter
This commit is contained in:
@@ -12,5 +12,5 @@ export interface ResourceIdentifier {
|
||||
* Determines whether the object is a {@link ResourceIdentifier}.
|
||||
*/
|
||||
export function isResourceIdentifier(object: unknown): object is ResourceIdentifier {
|
||||
return Boolean(object) && (typeof (object as ResourceIdentifier).path === 'string');
|
||||
return Boolean(object) && typeof (object as ResourceIdentifier).path === 'string';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user