Skip to content

Commit

Permalink
chore(deps): update typescript (#2300)
Browse files Browse the repository at this point in the history
* chore(deps): update typescript

* fix: unnecessary assertions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nickofthyme <[email protected]>
  • Loading branch information
renovate[bot] and nickofthyme authored Jan 16, 2024
1 parent 5b409b1 commit 202bd08
Show file tree
Hide file tree
Showing 6 changed files with 131 additions and 131 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"@emotion/react": "^11.10.5",
"@emotion/css": "^11.10.5",
"@mdx-js/loader": "^1.6.6",
"@microsoft/api-documenter": "^7.23.16",
"@microsoft/api-documenter": "^7.23.17",
"@microsoft/api-extractor": "^7.39.1",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
Expand Down Expand Up @@ -102,8 +102,8 @@
"@types/seedrandom": "^2.4.28",
"@types/url-parse": "^1.4.3",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"babel-loader": "^8.3.0",
"autoprefixer": "^9.0.0",
"backport": "^5.6.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function getAnglesBySize(subtype: BulletGraphSubtype): [startAngle: numbe
if (subtype === BulletGraphSubtype.vertical || subtype === BulletGraphSubtype.horizontal) {
throw new Error('Attempting to retrieve angle size from horizontal/vertical bullet');
}
const angles = sizeAngles[subtype] ?? sizeAngles[BulletGraphSubtype.twoThirdsCircle]!;
const angles = sizeAngles[subtype] ?? sizeAngles[BulletGraphSubtype.twoThirdsCircle];
// Negative angles used to match current radian pattern
const startAngle = -angles.startAngle;
// limit endAngle to startAngle +/- 2π
Expand Down
Loading

0 comments on commit 202bd08

Please sign in to comment.