enum.ts:
export enum FindType {
Definition,
Symbol,
File
}
test.ts:
import { FindType } from './FindType';
......
switch (this.findType) {
case FindType.Definition:
......
enum.ts:
export enum FindType {
Definition,
Symbol,
File
}
test.ts:
import { FindType } from './FindType';
......
switch (this.findType) {
case FindType.Definition:
......