mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix: Improve TS Warning For http_api_reference.md (#8172)
### What problem does this PR solve? https://github.com/infiniflow/ragflow/issues/8157 The current master code should work fine, but hI ave some warnings, so I added a declare to improve the warning ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
4
web/src/custom.d.ts
vendored
Normal file
4
web/src/custom.d.ts
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
declare module '*.md' {
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
Reference in New Issue
Block a user