mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 10:56:52 +08:00
refactor: type improvements that doesn't modify functionality (#17970)
This commit is contained in:
@@ -43,7 +43,7 @@ describe('asyncRunSafe', () => {
|
||||
})
|
||||
|
||||
describe('getTextWidthWithCanvas', () => {
|
||||
let originalCreateElement: any
|
||||
let originalCreateElement: typeof document.createElement
|
||||
|
||||
beforeEach(() => {
|
||||
// Store original implementation
|
||||
@@ -231,8 +231,8 @@ describe('canFindTool', () => {
|
||||
})
|
||||
|
||||
describe('removeSpecificQueryParam', () => {
|
||||
let originalLocation: any
|
||||
let originalReplaceState: any
|
||||
let originalLocation: Location
|
||||
let originalReplaceState: typeof window.history.replaceState
|
||||
|
||||
beforeEach(() => {
|
||||
originalLocation = window.location
|
||||
|
||||
Reference in New Issue
Block a user