Mark APIs at internal and include JSDoc in types

This commit is contained in:
Kitson Kelly 2018-09-04 12:23:38 -07:00 committed by Ryan Dahl
parent 2c0d00840d
commit 10dc71133a
10 changed files with 55 additions and 25 deletions

View file

@ -50,6 +50,7 @@ type OutputCode = string;
/**
* Abstraction of the APIs required from the `os` module so they can be
* easily mocked.
* @internal
*/
export interface Os {
codeCache: typeof os.codeCache;
@ -60,6 +61,7 @@ export interface Os {
/**
* Abstraction of the APIs required from the `typescript` module so they can
* be easily mocked.
* @internal
*/
export interface Ts {
createLanguageService: typeof ts.createLanguageService;