Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: drop custom d.ts files for web package #3417

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: drop custom d.ts files for web package
- was causing typescript issues for https://github.com/flolu/tolgee-i18next-v5-23-issue
stepan662 committed Jan 10, 2025
commit 1838aacfb3dbbe7aeb52ad057e5665d716d7b968
6 changes: 3 additions & 3 deletions packages/web/package.json
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
"declaration": true,
"type": "module",
"main": "./index.cjs",
"types": "./types/index.d.ts",
"types": "./lib/entry-production.d.ts",
"exports": {
".": {
"production": {
@@ -14,12 +14,12 @@
},
"import": "./dist/tolgee-web.development.esm.js",
"require": "./index.cjs",
"types": "./types/index.d.ts"
"types": "./lib/entry-production.d.ts"
},
"./tools": {
"import": "./dist/tolgee-in-context-tools.esm.js",
"require": "./dist/tolgee-in-context-tools.umd.cjs",
"types": "./types/tools.d.ts"
"types": "./lib/entry-tools.d.ts"
},
"./package.json": "./package.json"
},
4 changes: 2 additions & 2 deletions packages/web/tools/package.json
Original file line number Diff line number Diff line change
@@ -2,12 +2,12 @@
"internal": true,
"main": "../dist/tolgee-in-context-tools.umd.cjs",
"type": "module",
"types": "../types/tools.d.ts",
"types": "../lib/entry-tools.d.ts",
"exports": {
".": {
"import": "./../dist/tolgee-in-context-tools.esm.js",
"require": "./../dist/tolgee-in-context-tools.umd.cjs",
"types": "./../types/tools.d.ts"
"types": "./../lib/entry-tools.d.ts"
},
"./package.json": "./package.json"
}
6 changes: 0 additions & 6 deletions packages/web/types/index.d.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/web/types/tools.d.ts

This file was deleted.