fix: 修复关闭SSH终端标签页时会话状态未更新的问题

This commit is contained in:
2026-04-18 02:35:38 +08:00
commit 6e2e2f9387
43467 changed files with 5489040 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
// Type definitions for StackGenerator v2.0
// Project: https://github.com/stacktracejs/stack-generator
// Definitions by: Eric Wendelin <https://www.eriwen.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import StackFrame = require("stackframe");
declare namespace StackGenerator {
export type {StackFrame};
interface StackGeneratorOptions {
/** Maximum number of StackFrames to return. Default is 10 */
maxStackSize: number
}
/**
* Generate artificial backtrace by walking arguments.callee.caller chain.
*
* @param {Object} opts object
* @return {Array} of StackFrames
*/
export function backtrace(opts: StackGeneratorOptions): StackFrame[];
}
export = StackGenerator;