refactor: remove auto-imports.d.ts from tsconfig and vite config
- Updated tsconfig.json to remove reference to auto-imports.d.ts in the "include" section. - Removed dts option from vite.config.mts to eliminate generation of auto-imports.d.ts. - Deleted auto-imports.d.ts file to clean up unused code and reduce clutter.
This commit is contained in:
1 parent
5d7d31c04d
commit
db0139ac02
4 files changed
+1
-18
No files matched your search
File renamed without changes.
@@ -452,22 +452,6 @@ const editItem = (item: TreeNode) => {
|
||||
}
|
||||
}
|
||||
|
||||
// 在树状结构中查找节点的辅助函数
|
||||
const findNodeInTree = (nodes: TreeNode[], nodeId: string): TreeNode | null => {
|
||||
for (const node of nodes) {
|
||||
if (node.id === nodeId) {
|
||||
return node
|
||||
}
|
||||
if (node.children) {
|
||||
const found = findNodeInTree(node.children, nodeId)
|
||||
if (found) {
|
||||
return found
|
||||
}
|
||||
}
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
// Show dialog to edit directory
|
||||
const showEditDirectoryDialog = (directory: TreeNode) => {
|
||||
|
||||
Reference in new issue
Block a user