diff --git a/netbox/project-static/dist/netbox.js.map b/netbox/project-static/dist/netbox.js.map
index f65842504..b750759cc 100644
Binary files a/netbox/project-static/dist/netbox.js.map and b/netbox/project-static/dist/netbox.js.map differ
diff --git a/netbox/project-static/package.json b/netbox/project-static/package.json
index d99434544..e29d639fe 100644
--- a/netbox/project-static/package.json
+++ b/netbox/project-static/package.json
@@ -40,6 +40,7 @@
"devDependencies": {
"@types/bootstrap": "5.2.10",
"@types/cookie": "^0.5.1",
+ "@types/node": "^20.11.16",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"esbuild": "^0.13.15",
diff --git a/netbox/project-static/src/select/dynamic.ts b/netbox/project-static/src/select/dynamic.ts
index 360077c11..3b210d411 100644
--- a/netbox/project-static/src/select/dynamic.ts
+++ b/netbox/project-static/src/select/dynamic.ts
@@ -1,14 +1,14 @@
+import { TomOption } from 'tom-select/src/types';
+import { escape_html } from 'tom-select/src/utils';
+import { DynamicTomSelect } from './classes/dynamicTomSelect';
import { getElements } from '../util';
-import { DynamicTomSelect } from './classes/dynamicTomSelect'
const VALUE_FIELD = 'id';
const LABEL_FIELD = 'display';
const MAX_OPTIONS = 100;
-
// Render the HTML for a dropdown option
-function renderOption(data: any, escape: Function) {
-
+function renderOption(data: TomOption, escape: typeof escape_html) {
// If the option has a `_depth` property, indent its label
if (typeof data._depth === 'number' && data._depth > 0) {
return `
${'─'.repeat(data._depth)} ${escape(data[LABEL_FIELD])}
`;
@@ -17,10 +17,8 @@ function renderOption(data: any, escape: Function) {
return `${escape(data[LABEL_FIELD])}
`;
}
-
// Initialize