mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-26 10:43:51 -05:00
added test
This commit is contained in:
21
tests/cases/fourslash/quickInfoOnNewKeyword01.ts
Normal file
21
tests/cases/fourslash/quickInfoOnNewKeyword01.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
////class Cat {
|
||||
//// /**
|
||||
//// * NOTE: this constructor is private! Please use the factory function
|
||||
//// */
|
||||
//// private constructor() { }
|
||||
////
|
||||
//// static makeCat() { new Cat(); }
|
||||
////}
|
||||
////
|
||||
////ne/*1*/w Ca/*2*/t(/*3*/);
|
||||
|
||||
verify.quickInfoAt('1', 'constructor Cat(): Cat',
|
||||
'NOTE: this constructor is private! Please use the factory function');
|
||||
|
||||
verify.quickInfoAt('2', 'constructor Cat(): Cat',
|
||||
'NOTE: this constructor is private! Please use the factory function');
|
||||
|
||||
verify.quickInfoAt('3', 'constructor Cat(): Cat',
|
||||
'NOTE: this constructor is private! Please use the factory function');
|
||||
Reference in New Issue
Block a user