summaryrefslogtreecommitdiffstats
path: root/lib/llhttp/utils.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/llhttp/utils.d.ts')
-rw-r--r--lib/llhttp/utils.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/llhttp/utils.d.ts b/lib/llhttp/utils.d.ts
new file mode 100644
index 0000000..15497f3
--- /dev/null
+++ b/lib/llhttp/utils.d.ts
@@ -0,0 +1,4 @@
+export interface IEnumMap {
+ [key: string]: number;
+}
+export declare function enumToMap(obj: any): IEnumMap;