mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
[deps] Autofill: Update prettier to v3 (#7014)
* [deps] Autofill: Update prettier to v3 * prettier formatting updates --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
This commit is contained in:
@@ -17,7 +17,10 @@ export type VersionTo<T> = T extends Migrator<number, infer TTo>
|
||||
export type Direction = "up" | "down";
|
||||
|
||||
export abstract class Migrator<TFrom extends number, TTo extends number> {
|
||||
constructor(public fromVersion: TFrom, public toVersion: TTo) {
|
||||
constructor(
|
||||
public fromVersion: TFrom,
|
||||
public toVersion: TTo,
|
||||
) {
|
||||
if (fromVersion == null || toVersion == null) {
|
||||
throw new Error("Invalid migration");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user