mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Remove useless comment
This commit is contained in:
parent
1ed733a2a7
commit
64a56245e7
@ -67,10 +67,6 @@ export function getWeightedPreferences(types: ValuePreferences, preferred: Value
|
||||
.sort(({ weight: weightA }, { weight: weightB }): number => weightB - weightA);
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds the best result from the `available` values when matching against the `preferred` preferences.
|
||||
* `undefined` if there is no match.
|
||||
*/
|
||||
/**
|
||||
* Finds the type from the given types that has the best match with the given preferences,
|
||||
* based on the calculated weight.
|
||||
|
Loading…
x
Reference in New Issue
Block a user