Skip to content

Commit

Permalink
refactor: 🏷️ fix types for moon-math.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
thkruz committed Aug 12, 2022
1 parent f2bc0b9 commit 41bd18c
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions src/utils/moon-math.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,36 @@ import { SunMath } from './sun-math';

type MoonIlluminationData = {
fraction: number;
phase: any;
phase: {
from: number;
to: number;
id: string;
emoji: string;
code: string;
name: string;
weight: number;
css: string;
};
phaseValue: number;
angle: any;
angle: number;
next: {
value: number;
date: string;
type: string;
newMoon: {
value: any;
value: number;
date: string;
};
fullMoon: {
value: any;
value: number;
date: string;
};
firstQuarter: {
value: any;
value: number;
date: string;
};
thirdQuarter: {
value: any;
value: number;
date: string;
};
};
Expand Down

0 comments on commit 41bd18c

Please sign in to comment.