diff --git a/package.json b/package.json index d5e7a43..2d4b24d 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,6 @@ "rimraf": "^5.0.0", "rollup": "^2.10.9", "rollup-plugin-copy": "^3.3.0", - "typescript": "^3.9.3" + "typescript": "^5.0.0" } } diff --git a/src/electron-app/components/nightscout-api.ts b/src/electron-app/components/nightscout-api.ts index 6155833..8e5e779 100644 --- a/src/electron-app/components/nightscout-api.ts +++ b/src/electron-app/components/nightscout-api.ts @@ -49,7 +49,7 @@ export default class NightscoutAPI { export interface GlucoseStatus { success: boolean; - value: Number; + value: number; unit?: Unit; - timestamp: Number; + timestamp: number; } diff --git a/yarn.lock b/yarn.lock index 281fca3..74cfc90 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3690,10 +3690,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@^3.9.3: - version "3.9.10" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8" - integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== +typescript@^5.0.0: + version "5.3.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" + integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== unbzip2-stream@^1.0.9: version "1.4.3"