Skip to content

Commit 578d4a2

Browse files
committed
Fix exported type version
1 parent b2a935a commit 578d4a2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import type { OpenAPIObject } from 'openapi3-ts/oas31';
1+
import type { OpenAPIObject } from 'openapi3-ts/oas30';
22

33
export const spec: OpenAPIObject;

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"./oas.json": "./dist/oas.json",
1717
"./index.js": "./dist/index.js"
1818
},
19+
"types": "index.d.ts",
1920
"main": "dist/index.js",
2021
"scripts": {
2122
"dev": "nodemon --watch './openapi/**/*.yaml' --exec 'redocly bundle ./openapi/index.yaml -o ./dist/index.yaml && pnpm scalar serve ./dist/oas.yaml -p 5001' --ext yaml",

0 commit comments

Comments
 (0)