Skip to content

Commit

Permalink
style: format with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahsnider committed Sep 25, 2021
1 parent 8144aba commit ca0b1ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/dev/types/generated.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BestConversionKind } from "./common";
import {BestConversionKind} from './common';

export type Best = Record<BestConversionKind, Array<Array<[value: number, sym: string]>>>;

Expand Down
5 changes: 1 addition & 4 deletions src/types/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,5 @@ export interface Converter<Q extends number | bigint, U extends Unit> {
*
* @returns An object with a `quantity` property of the `unit` unit, which can be casted to a string using the `toString()` method
*/
to<B extends BestUnits<UnitToFamily[U], K>, K extends BestConversionKind = BestConversionKind>(
to: 'best',
kind?: K | undefined
): BestConversion<Q, B>;
to<B extends BestUnits<UnitToFamily[U], K>, K extends BestConversionKind = BestConversionKind>(to: 'best', kind?: K | undefined): BestConversion<Q, B>;
}

0 comments on commit ca0b1ce

Please sign in to comment.