mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-17 00:04:13 -05:00
Added tests.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace C {
|
||||
export interface type {
|
||||
}
|
||||
}
|
||||
|
||||
var x = class C {
|
||||
prop: C.type;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
interface arguments {
|
||||
}
|
||||
|
||||
function f() {
|
||||
<arguments>arguments;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
interface f {
|
||||
}
|
||||
|
||||
function f() {
|
||||
<f>f;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
interface arguments {
|
||||
}
|
||||
|
||||
var x = function f() {
|
||||
<arguments>arguments;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
interface f {
|
||||
}
|
||||
|
||||
var x = function f() {
|
||||
<f>f;
|
||||
}
|
||||
Reference in New Issue
Block a user