File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -162,10 +162,12 @@ export class TrueSkill {
162162 * Calculates the match quality of the given rating groups. Result
163163 * is the draw probability in the association::
164164 *
165- * env = TrueSkill()
166- * if env.quality([team1, team2, team3]) < 0.50 {
167- * console.log('This match seems to be not so fair')
168- * }
165+ * ```ts
166+ * env = TrueSkill()
167+ * if (env.quality([team1, team2, team3]) < 0.50) {
168+ * console.log('This match seems to be not so fair')
169+ * }
170+ * ```
169171 */
170172 quality ( ratingGroups : Rating [ ] [ ] , weights ?: number [ ] [ ] ) : number {
171173 function createVarianceMatrix ( flattenRatings : Rating [ ] , height : number , width : number ) {
Original file line number Diff line number Diff line change 11{
22 "entryPoints" : [" src/index.ts" ],
3- "tsconfig" : " tsconfig.build. json" ,
3+ "tsconfig" : " tsconfig.json" ,
44 "out" : " docs" ,
55 "excludePrivate" : true ,
66 "excludeProtected" : true ,
You can’t perform that action at this time.
0 commit comments