TypeScript/tests/baselines/reference/constDeclarationShadowedByVarDeclaration3.types

28 lines
566 B
Plaintext
Raw Normal View History

=== 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
2015-04-13 21:36:11 +02:00
>'' : string
public name: string = '';
>name : string
2015-04-13 21:36:11 +02:00
>'' : string
constructor(name: string) {
>name : string
this.name = name;
>this.name = name : string
>this.name : string
>this : Rule
>name : string
>name : string
}
}