prettier/tests/typescript/compiler/globalIsContextualKeyword.ts

16 lines
162 B
TypeScript
Raw Normal View History

2018-12-08 13:28:29 +03:00
function a() {
let global = 1;
}
function b() {
class global {}
}
namespace global {
}
function foo(global: number) {
}
let obj = {
global: "123"
}