Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
added test
- Loading branch information
1 parent
578013b
commit 9959ce4
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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'); |