mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-29 16:29:19 -05:00
fix(57386): Invalid use of 'eval' when defining a namespaced eval function (#57391)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// @filename: /a.d.ts
|
||||
declare global {
|
||||
export namespace ns {
|
||||
export function eval(): void;
|
||||
export function arguments(): void;
|
||||
}
|
||||
}
|
||||
|
||||
declare function eval(): void;
|
||||
declare function arguments(): void;
|
||||
|
||||
export {}
|
||||
Reference in New Issue
Block a user