TypeScript/tests/baselines/reference/constDeclarationShadowedByVarDeclaration3.types
2014-10-28 21:21:47 -07:00

26 lines
538 B
Plaintext

=== tests/cases/compiler/constDeclarationShadowedByVarDeclaration3.ts ===
// Ensure only checking for const declarations shadowed by vars
class Rule {
>Rule : Rule
public regex: RegExp = new RegExp('');
>regex : RegExp
>RegExp : RegExp
>new RegExp('') : RegExp
>RegExp : RegExpConstructor
public name: string = '';
>name : string
constructor(name: string) {
>name : string
this.name = name;
>this.name = name : string
>this.name : string
>this : Rule
>name : string
>name : string
}
}