From 457ab3301782e4e91334961208c5e4bbde95987d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 10 Dec 2021 03:04:34 +0100 Subject: Add various type specifiers. --- static/clock.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'static/clock.ts') diff --git a/static/clock.ts b/static/clock.ts index a2d22e00..b0ddae00 100644 --- a/static/clock.ts +++ b/static/clock.ts @@ -2,9 +2,8 @@ export { SmallcalCellHighlight, Timebar } import { makeElement, date_to_percent } from './lib' -class Clock { - update(now: Date) { - } +abstract class Clock { + abstract update(now: Date): void; } -- cgit v1.2.3