Browse Source

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)
tags/v0.19.1
Stephen Hu 4 months ago
parent
commit
e7c85e569b
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      web/src/custom.d.ts

+ 4
- 0
web/src/custom.d.ts View File

@@ -0,0 +1,4 @@
declare module '*.md' {
const content: string;
export default content;
}

Loading…
Cancel
Save