mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 07:13:45 -05:00
Do not use internal aliasing when getting symbol full name to show in quickInfo or completion list
This commit is contained in:
22
tests/cases/fourslash/quickInfoOnInternalAliases.ts
Normal file
22
tests/cases/fourslash/quickInfoOnInternalAliases.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
/////** Module comment*/
|
||||
////export module m1 {
|
||||
//// /** m2 comments*/
|
||||
//// export module m2 {
|
||||
//// /** class comment;*/
|
||||
//// export class /*1*/c {
|
||||
//// };
|
||||
//// }
|
||||
////}
|
||||
/////**This is on import declaration*/
|
||||
////import /*2*/internalAlias = m1.m2./*3*/c;
|
||||
|
||||
goTo.marker('1');
|
||||
verify.quickInfoIs("class m1.m2.c", "class comment;");
|
||||
|
||||
goTo.marker('2');
|
||||
verify.quickInfoIs('(alias) internalAlias', "This is on import declaration");
|
||||
|
||||
goTo.marker('3');
|
||||
verify.quickInfoIs("class m1.m2.c", "class comment;");
|
||||
Reference in New Issue
Block a user