From b9939fc4a4c08e8b2663759fecc20adf194959b7 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Sat, 13 Jan 2024 11:46:48 -0700 Subject: [PATCH] refactor: TS --- tsconfig.json | 3 ++- typings/babel__eslint-parser.d.ts | 1 + {src/bin => typings}/gitdown.d.ts | 0 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 typings/babel__eslint-parser.d.ts rename {src/bin => typings}/gitdown.d.ts (100%) diff --git a/tsconfig.json b/tsconfig.json index 7a3d8d669..510f1fdea 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,7 +16,8 @@ "include": [ "src/**/*.js", "test/**/*.js", - "src/bin/gitdown.d.ts" + "typings/gitdown.d.ts", + "typings/babel__eslint-parser.d.ts" ], "exclude": ["node_modules"] } diff --git a/typings/babel__eslint-parser.d.ts b/typings/babel__eslint-parser.d.ts new file mode 100644 index 000000000..89b648f85 --- /dev/null +++ b/typings/babel__eslint-parser.d.ts @@ -0,0 +1 @@ +declare module '@babel/eslint-parser'; diff --git a/src/bin/gitdown.d.ts b/typings/gitdown.d.ts similarity index 100% rename from src/bin/gitdown.d.ts rename to typings/gitdown.d.ts