Skip to content

Commit

Permalink
Prepare type export
Browse files Browse the repository at this point in the history
  • Loading branch information
n2o committed Sep 12, 2024
1 parent f167ff7 commit a2932e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@schnaq/strapi4-utils",
"version": "1.2.2",
"version": "1.2.3",
"description": "Utility functions for working with Strapi v4",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as models from "@/models"
import {
Headers,
Image,
Expand All @@ -8,7 +7,7 @@ import {
User,
} from "@/models"

export { models }
export * from "@/models"

/**
* Query data from the API. Coerces the response to the given type.
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "esnext",
"lib": ["esnext", "DOM"],
"declaration": true,
"emitDeclarationOnly": true,
"strict": true,
"moduleResolution": "node",
"skipLibCheck": true,
Expand Down

0 comments on commit a2932e0

Please sign in to comment.