Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Expose handlers for extensibility
  • Loading branch information
mihailik committed Dec 9, 2015
commit ce8e3142d58ce2a1d6dec7445e9243d9379806bd
4 changes: 2 additions & 2 deletions src/server/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace ts.server {
const spaceCache: string[] = [];

ha
interface StackTraceError extends Error {
stack?: string;
}
Expand Down Expand Up @@ -949,7 +949,7 @@ namespace ts.server {
exit() {
}

private handlers: Map<(request: protocol.Request) => {response?: any, responseRequired?: boolean}> = {
handlers: Map<(request: protocol.Request) => {response?: any, responseRequired?: boolean}> = {
[CommandNames.Exit]: () => {
this.exit();
return { responseRequired: false};
Expand Down