Browse Source

fix: type of DebuggableOptions.noEnvNs

e22m4u 2 months ago
parent
commit
004c876f17
3 changed files with 8 additions and 8 deletions
  1. 6 6
      package.json
  2. 1 1
      src/debuggable.d.ts
  3. 1 1
      src/debuggable.js

+ 6 - 6
package.json

@@ -38,23 +38,23 @@
     "prepare": "husky"
     "prepare": "husky"
   },
   },
   "dependencies": {
   "dependencies": {
-    "@e22m4u/js-format": "~0.1.8"
+    "@e22m4u/js-format": "~0.2.0"
   },
   },
   "devDependencies": {
   "devDependencies": {
     "@commitlint/cli": "~19.8.1",
     "@commitlint/cli": "~19.8.1",
     "@commitlint/config-conventional": "~19.8.1",
     "@commitlint/config-conventional": "~19.8.1",
     "@e22m4u/js-spy": "~0.0.2",
     "@e22m4u/js-spy": "~0.0.2",
-    "@eslint/js": "~9.34.0",
+    "@eslint/js": "~9.36.0",
     "c8": "~10.1.3",
     "c8": "~10.1.3",
     "chai": "~6.0.1",
     "chai": "~6.0.1",
-    "esbuild": "~0.25.9",
-    "eslint": "~9.34.0",
+    "esbuild": "~0.25.10",
+    "eslint": "~9.36.0",
     "eslint-config-prettier": "~10.1.8",
     "eslint-config-prettier": "~10.1.8",
     "eslint-plugin-chai-expect": "~3.1.0",
     "eslint-plugin-chai-expect": "~3.1.0",
     "eslint-plugin-mocha": "~11.1.0",
     "eslint-plugin-mocha": "~11.1.0",
-    "globals": "~16.3.0",
+    "globals": "~16.4.0",
     "husky": "~9.1.7",
     "husky": "~9.1.7",
-    "mocha": "~11.7.1",
+    "mocha": "~11.7.2",
     "prettier": "~3.6.2",
     "prettier": "~3.6.2",
     "rimraf": "~6.0.1",
     "rimraf": "~6.0.1",
     "typescript": "~5.9.2"
     "typescript": "~5.9.2"

+ 1 - 1
src/debuggable.d.ts

@@ -6,7 +6,7 @@ import {Debugger} from './create-debugger.js';
  */
  */
 export type DebuggableOptions = {
 export type DebuggableOptions = {
   namespace: string,
   namespace: string,
-  noEnvNs: string,
+  noEnvNs: boolean,
 }
 }
 
 
 /**
 /**

+ 1 - 1
src/debuggable.js

@@ -4,7 +4,7 @@ import {createDebugger} from '@e22m4u/js-debug';
 /**
 /**
  * @typedef {{
  * @typedef {{
  *   namespace: string,
  *   namespace: string,
- *   noEnvNs: string,
+ *   noEnvNs: boolean,
  * }} DebuggableOptions
  * }} DebuggableOptions
  */
  */