From b495aba70dd4489c24659d7787659c3d46f7a9fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kleszczy=C5=84ski?= Date: Sun, 8 Dec 2024 10:12:01 +0100 Subject: [PATCH] cleanup --- 2024/d06/index.ts | 6 +----- README.md | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/2024/d06/index.ts b/2024/d06/index.ts index baf28d8..1d39bd4 100644 --- a/2024/d06/index.ts +++ b/2024/d06/index.ts @@ -1,11 +1,7 @@ import { readFileSync } from 'node:fs' import { runExamples, runSolution } from '@magiczne/advent-of-code-ts-core/aoc' - -interface Vec2 { - x: number - y: number -} +import type { Vec2 } from '@magiczne/advent-of-code-ts-core/types' interface Input { map: Array> diff --git a/README.md b/README.md index 16bc5d9..41bdf05 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Some editions were finished later, or even done in a different time (for example | [2021](2021) | [Elixir][lang-elixir] | 06/50 |Why have i chosen Elixir... | | [2022](2022) | [TypeScript][lang-ts] | 38/50 |With some help from [Radash][lib-radash] and [Ramda][lib-ramda] | | [2023](2023) | [TypeScript][lang-ts] | 20/50 |With some help from [Radash][lib-radash] and [Ramda][lib-ramda] | -| [2024](2024) | [TypeScript][lang-ts] | 04/50 |With some help from [Radash][lib-radash] and [Ramda][lib-ramda] | +| [2024](2024) | [TypeScript][lang-ts] | 16/50 |With some help from [Radash][lib-radash] and [Ramda][lib-ramda] | [lang-c#]: https://learn.microsoft.com/pl-pl/dotnet/csharp/ [lang-elixir]: https://elixir-lang.org/