mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Tighten signature for CallSite.getTypeName()
This commit is contained in:
@@ -2429,6 +2429,10 @@ namespace errors_tests {
|
||||
let frames: NodeJS.CallSite[] = [];
|
||||
Error.prepareStackTrace(new Error(), frames);
|
||||
}
|
||||
{
|
||||
let frame: NodeJS.CallSite = null;
|
||||
let typeName: string = frame.getTypeName();
|
||||
}
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user