-
-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d18695
commit bf661eb
Showing
9 changed files
with
90 additions
and
86 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
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
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
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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import * as Proto from 'typescript/lib/protocol'; | ||
export = Proto; | ||
import * as Proto from 'typescript/lib/tsserverlibrary'; | ||
export = Proto.server.protocol; | ||
|
||
declare enum ServerType { | ||
Syntax = 'syntax', | ||
Semantic = 'semantic', | ||
} | ||
declare module 'typescript/lib/protocol' { | ||
declare module 'typescript/lib/tsserverlibrary' { | ||
|
||
interface Response { | ||
readonly _serverType?: ServerType; | ||
} | ||
|
||
interface JSDocLinkDisplayPart { | ||
target: Proto.FileSpan; | ||
target: Proto.server.protocol.FileSpan; | ||
} | ||
} | ||
|
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
Oops, something went wrong.