fix(57386): Invalid use of 'eval' when defining a namespaced eval function (#57391)

This commit is contained in:
Oleksandr T
2024-03-02 01:14:27 +02:00
committed by GitHub
parent 5d17aa7eb9
commit 8ada4ef44f
4 changed files with 63 additions and 1 deletions

View File

@@ -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 {}