Skip to content

Commit

Permalink
fix: anything around stupid ts code (squashed)
Browse files Browse the repository at this point in the history
fix: whatever
apparently 1.1.3 never works

fix: commonjs option?

fix: dfy2c
  • Loading branch information
hUwUtao committed Jun 4, 2024
1 parent d6456eb commit 23b554d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@team-fuho/wt",
"version": "1.1.3",
"version": "1.1.6",
"description": "",
"type": "module",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"type": "commonjs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist"
],
Expand Down
2 changes: 1 addition & 1 deletion src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function BlogPage(ctx: Context) {
intro: string,
body: string,
thumbnail_set: Record<string, string>
}>("gallery.Picture", ctx)
}>("blog.BlogPage", ctx)
}

export function GalleryPicture(ctx: Context) {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"module": "commonjs",
"module": "CommonJS",
"target": "ESNext",
"declaration": true,
"outDir": "./dist"
Expand Down

0 comments on commit 23b554d

Please sign in to comment.