diff --git a/package.json b/package.json index bcec7f57..437b5067 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Serve Swagger/OpenAPI documentation for Fastify, supporting dynamic generation", "main": "index.js", "type": "commonjs", - "types": "index.d.ts", + "types": "types/index.d.ts", "scripts": { "lint": "eslint", "lint:fix": "eslint --fix", diff --git a/test-types/http2-types.tst.ts b/types/http2-types.tst.ts similarity index 100% rename from test-types/http2-types.tst.ts rename to types/http2-types.tst.ts diff --git a/test-types/imports.tst.ts b/types/imports.tst.ts similarity index 100% rename from test-types/imports.tst.ts rename to types/imports.tst.ts diff --git a/index.d.ts b/types/index.d.ts similarity index 100% rename from index.d.ts rename to types/index.d.ts diff --git a/test-types/minimal-openapiV3-document.ts b/types/minimal-openapiV3-document.ts similarity index 100% rename from test-types/minimal-openapiV3-document.ts rename to types/minimal-openapiV3-document.ts diff --git a/test-types/swagger-ui-vendor-extensions.tst.ts b/types/swagger-ui-vendor-extensions.tst.ts similarity index 100% rename from test-types/swagger-ui-vendor-extensions.tst.ts rename to types/swagger-ui-vendor-extensions.tst.ts diff --git a/test-types/types.tst.ts b/types/types.tst.ts similarity index 100% rename from test-types/types.tst.ts rename to types/types.tst.ts