mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-14 18:08:31 -05:00
committed by
Bill Ticehurst
parent
eb27166b09
commit
176baf904a
@@ -10,9 +10,26 @@
|
||||
//// * @param {number} a
|
||||
//// */
|
||||
//// constructor(a, b) {
|
||||
//// a./**/
|
||||
//// a/*body*/
|
||||
//// }
|
||||
////
|
||||
//// /**
|
||||
//// * @param {number} a
|
||||
//// */
|
||||
//// method(a) {
|
||||
//// a/*method*/
|
||||
//// }
|
||||
//// }
|
||||
//// let x = new Something(/*sig*/);
|
||||
|
||||
goTo.marker();
|
||||
goTo.marker('body');
|
||||
edit.insert('.');
|
||||
verify.completionListContains('toFixed', undefined, undefined, 'method');
|
||||
edit.backspace();
|
||||
|
||||
goTo.marker('sig');
|
||||
verify.currentSignatureHelpIs('Something(a: number, b: any): Something');
|
||||
|
||||
goTo.marker('method');
|
||||
edit.insert('.');
|
||||
verify.completionListContains('toFixed', undefined, undefined, 'method');
|
||||
|
||||
Reference in New Issue
Block a user