Parcourir la source

chore: fix types for allIds

tophf il y a 3 ans
Parent
commit
89395468cc
2 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 1 0
      .github/workflows/ci.yml
  2. 2 2
      src/types.d.ts

+ 1 - 0
.github/workflows/ci.yml

@@ -8,6 +8,7 @@ on:
       - 'v*' # version-tagged commits are releases which have their own workflow
     paths-ignore:
       - '.github/**' # this ci.yml is also excluded so you need to re-run it explicitly if necessary
+      - src/types.d.ts
       - LICENSE
       - README.md
   pull_request:

+ 2 - 2
src/types.d.ts

@@ -209,10 +209,10 @@ declare namespace VMInjection {
     /** Dependencies by key to script ids */
     depsMap: { [url: string]: number[] };
     /** Only present in envStart */
-    disabledIds?: number[];
+    allIds?: { [id: string]: NumBool };
     /** Only present in envStart */
     envDelayed?: Env;
-    ids: { [id: string]: NumBool };
+    ids: number[];
     promise: Promise<Env>;
     reqKeys: string[];
     require: StringMap;