build(deps-dev): bump prettier from 2.8.1 to 2.8.2 (#1426)

* build(deps-dev): bump prettier from 2.8.1 to 2.8.2

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.1...2.8.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* yarn lint

Fixes breaking changes in eslint.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Lechner <david@pybricks.com>
This commit is contained in:
dependabot[bot]
2023-01-09 15:28:56 +00:00
committed by GitHub
co-authored by David Lechner
parent b850ff86fc
commit 9be97c7fdd
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ export type AlertDomain = keyof typeof alertDomains;
* Gets the type of available specific alerts for a domain.
* @template D The domain.
*/
export type AlertSpecific<D extends AlertDomain> = keyof typeof alertDomains[D];
export type AlertSpecific<D extends AlertDomain> = keyof (typeof alertDomains)[D];
/**
* Gets the instance type of the object in the lookup table.
@@ -41,7 +41,7 @@ export type AlertSpecific<D extends AlertDomain> = keyof typeof alertDomains[D];
type AlertInstance<
D extends AlertDomain,
S extends AlertSpecific<D>,
> = typeof alertDomains[D][S] extends CreateToast<infer P, infer A>
> = (typeof alertDomains)[D][S] extends CreateToast<infer P, infer A>
? CreateToast<P, A>
: never;