TypeScript/tests/baselines/reference/constDeclarationShadowedByVarDeclaration3.types
2015-04-15 16:44:20 -07:00

28 lines
566 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
>'' : string
public name: string = '';
>name : string
>'' : string
constructor(name: string) {
>name : string
this.name = name;
>this.name = name : string
>this.name : string
>this : Rule
>name : string
>name : string
}
}