FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
stackframe/stackframe.d.ts at typescript · andersk/stackframe · GitHub
andersk
/
stackframe
Public
forked from
stacktracejs/stackframe
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
stackframe
/
stackframe.d.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
73 lines (57 loc) · 1.95 KB
Breadcrumbs
stackframe
/
stackframe.d.ts
Copy path
File metadata and controls
73 lines (57 loc) · 1.95 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// Type definitions for StackFrame v1.0.0
// Project: https://github.com/stacktracejs/stackframe
// Definitions by: Eric Wendelin <https://www.eriwen.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export
as
namespace
StackFrame
;
// global for non-module UMD users
export
=
StackFrame
;
declare
namespace
StackFrame
{
export
interface
StackFrameOptions
{
isConstructor
?:
boolean
;
isEval
?:
boolean
;
isNative
?:
boolean
;
isToplevel
?:
boolean
;
columnNumber
?:
number
;
lineNumber
?:
number
;
fileName
?:
string
;
functionName
?:
string
;
source
?:
string
;
args
?:
any
[
]
;
}
}
declare
class
StackFrame
{
constructor
(
obj
:
StackFrame
.
StackFrameOptions
)
;
args
?:
any
[
]
;
getArgs
(
)
:
any
[
]
|
undefined
;
setArgs
(
args
:
any
[
]
)
:
void
;
evalOrigin
?:
StackFrame
;
getEvalOrigin
(
)
:
StackFrame
|
undefined
;
setEvalOrigin
(
stackframe
:
StackFrame
)
:
void
;
isConstructor
?:
boolean
;
getIsConstructor
(
)
:
boolean
|
undefined
;
setIsConstructor
(
isConstructor
:
boolean
)
:
void
;
isEval
?:
boolean
;
getIsEval
(
)
:
boolean
|
undefined
;
setIsEval
(
isEval
:
boolean
)
:
void
;
isNative
?:
boolean
;
getIsNative
(
)
:
boolean
|
undefined
;
setIsNative
(
isNative
:
boolean
)
:
void
;
isToplevel
?:
boolean
;
getIsToplevel
(
)
:
boolean
|
undefined
;
setIsToplevel
(
isToplevel
:
boolean
)
:
void
;
columnNumber
?:
number
;
getColumnNumber
(
)
:
number
|
undefined
;
setColumnNumber
(
columnNumber
:
number
)
:
void
;
lineNumber
?:
number
;
getLineNumber
(
)
:
number
|
undefined
;
setLineNumber
(
lineNumber
:
number
)
:
void
;
fileName
?:
string
;
getFileName
(
)
:
string
|
undefined
;
setFileName
(
fileName
:
string
)
:
void
;
functionName
?:
string
;
getFunctionName
(
)
:
string
|
undefined
;
setFunctionName
(
functionName
:
string
)
:
void
;
source
?:
string
;
getSource
(
)
:
string
|
undefined
;
setSource
(
source
:
string
)
:
void
;
toString
(
)
:
string
;
}
Back
|
FazBrowse Home
|
New Git URL