mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-09 07:55:10 -05:00
Add tests
This commit is contained in:
17
tests/cases/fourslash/renameParameterPropertyDeclaration.ts
Normal file
17
tests/cases/fourslash/renameParameterPropertyDeclaration.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
//// class Foo {
|
||||
//// constructor(private privateParam: number,
|
||||
//// public publicParam: string,
|
||||
//// protected protectedParam: boolean) {
|
||||
////
|
||||
//// let localPrivate = privateParam;
|
||||
//// this.privateParam += 10;
|
||||
////
|
||||
//// let localPublic = publicParam;
|
||||
//// this.publicParam += " Hello!";
|
||||
////
|
||||
//// let localProtected = protectedParam;
|
||||
//// this.protectedParam = !this.protectedParam;
|
||||
//// }
|
||||
//// }
|
||||
Reference in New Issue
Block a user