We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 578013b commit 9959ce4Copy full SHA for 9959ce4
tests/cases/fourslash/quickInfoOnNewKeyword01.ts
@@ -0,0 +1,21 @@
1
+/// <reference path='fourslash.ts' />
2
+
3
+////class Cat {
4
+//// /**
5
+//// * NOTE: this constructor is private! Please use the factory function
6
+//// */
7
+//// private constructor() { }
8
+////
9
+//// static makeCat() { new Cat(); }
10
+////}
11
12
+////ne/*1*/w Ca/*2*/t(/*3*/);
13
14
+verify.quickInfoAt('1', 'constructor Cat(): Cat',
15
+'NOTE: this constructor is private! Please use the factory function');
16
17
+verify.quickInfoAt('2', 'constructor Cat(): Cat',
18
19
20
+verify.quickInfoAt('3', 'constructor Cat(): Cat',
21
0 commit comments