mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-21 17:32:41 +00:00
feat: enable stricter type checking options
feat: make the app more fault tolerant
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
);
|
||||
|
||||
function search() {
|
||||
results = index!.search(searchBox.value);
|
||||
results = index!.search(searchBox.value) as number[];
|
||||
exact = exactIndex[searchBox.value]?.code;
|
||||
code = Number(searchBox.value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user