🎨 Lint project
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { type Analytics } from '$lib/types/models'
|
||||
import { writable } from 'svelte/store'
|
||||
|
||||
let analytics_data = {
|
||||
const analytics_data = {
|
||||
uptime: <number[]>[],
|
||||
free_heap: <number[]>[],
|
||||
total_heap: <number[]>[],
|
||||
|
||||
@@ -8,7 +8,7 @@ import ChartWidget from '$lib/components/widget/ChartWidget.svelte'
|
||||
export interface WidgetConfig {
|
||||
id: string | number
|
||||
component: keyof typeof WidgetComponents
|
||||
props?: Record<string, any>
|
||||
props?: Record<string, unknown>
|
||||
}
|
||||
|
||||
export interface WidgetContainerConfig {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { DownloadOTA } from '$lib/types/models'
|
||||
import { writable } from 'svelte/store'
|
||||
|
||||
let telemetry_data = {
|
||||
const telemetry_data = {
|
||||
rssi: {
|
||||
rssi: 0
|
||||
},
|
||||
@@ -13,7 +13,7 @@ let telemetry_data = {
|
||||
}
|
||||
|
||||
function createTelemetry() {
|
||||
const { subscribe, set, update } = writable(telemetry_data)
|
||||
const { subscribe, update } = writable(telemetry_data)
|
||||
|
||||
return {
|
||||
subscribe,
|
||||
|
||||
Reference in New Issue
Block a user