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