mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Make CommandTypes a const enum and use allCommandTypes for unit test
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
* Declaration module describing the TypeScript Server protocol
|
||||
*/
|
||||
namespace ts.server.protocol {
|
||||
export enum CommandTypes {
|
||||
// NOTE: If updating this, be sure to also update `allCommandNames` in `harness/unittests/session.ts`.
|
||||
export const enum CommandTypes {
|
||||
Brace = "brace",
|
||||
/* @internal */
|
||||
BraceFull = "brace-full",
|
||||
|
||||
Reference in New Issue
Block a user