diff --git a/package.json b/package.json index 38b2a55..df8ea9f 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "codegen", "generate api" ], - "main": "src/index.ts", + "main": "dist/index.js", "bin": { "ts-autoapi": "dist/program.cjs" }, diff --git a/src/codegen/writer.ts b/src/codegen/writer.ts index e54cf44..6217581 100644 --- a/src/codegen/writer.ts +++ b/src/codegen/writer.ts @@ -2,6 +2,7 @@ import { upperFirst } from './name' import { Apis } from './parse' export const fixedHeader = `/* eslint-disable */ +// ts-nocheck /** * This file was auto generated by \`ts-autoapi\`.