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

chore(module-tools): remove unuse types in template and reference #4947

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
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
7 changes: 7 additions & 0 deletions .changeset/cyan-chefs-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@modern-js/module-generator': patch
'@modern-js/module-tools': patch
---

chore(module-tools): remove unuse types in template and reference
chore(module-tools): 移除模板和引用中的未使用类型
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@
"@modern-js/eslint-config": "{{modernVersion}}",
{{#if isTs}}
"typescript": "~5.0.4",
"@types/jest": "~29.2.4",
"@types/node": "~16.11.7",
"@types/react": "~18.0.26",
{{/if}}
"rimraf": "~3.0.2",
"lint-staged": "~13.1.0",
Expand Down
1 change: 0 additions & 1 deletion packages/solutions/module-tools/lib/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/// <reference types="node" />
/// <reference types="react" />

declare namespace NodeJS {
interface ProcessEnv {
Expand Down