# HG changeset patch # User drewp@bigasterisk.com # Date 1706486443 28800 # Node ID c04563fc861607681ab811f5d757240a53314f1d # Parent c6fd04e07db086cc58cb750baaf21162476a966e quiet some ts warnings diff -r c6fd04e07db0 -r c04563fc8616 src/main.ts --- a/src/main.ts Sun Jan 28 15:44:10 2024 -0800 +++ b/src/main.ts Sun Jan 28 16:00:43 2024 -0800 @@ -28,8 +28,10 @@ } `, ]; - @state() lights: object[] = []; - @state() reportTime: Date; + + // bug https://github.com/lit/lit/issues/4305 + @(state as any)() lights: object[] = []; + @(state as any)() reportTime: Date = new Date(0); connectedCallback(): void { super.connectedCallback();