mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-21 01:12:59 +00:00
feat: enable stricter type checking options
feat: make the app more fault tolerant
This commit is contained in:
@@ -16,7 +16,7 @@ export const setting: Action<
|
||||
|
||||
const unsubscribe = settings.subscribe(async (settings) => {
|
||||
if (id in settings) {
|
||||
const { value, isApplied } = settings[id];
|
||||
const { value, isApplied } = settings[id]!;
|
||||
if (type === "number") {
|
||||
node.value = (
|
||||
inverse !== undefined
|
||||
|
||||
Reference in New Issue
Block a user