diff --git a/playground/src/PlaygroundView.tsx b/playground/src/PlaygroundView.tsx index 82a90881..8dd1d223 100644 --- a/playground/src/PlaygroundView.tsx +++ b/playground/src/PlaygroundView.tsx @@ -16,7 +16,7 @@ import { CodeEditor, type ISyntaxMarker, type IStyledRange } from './CodeEditor' import { DocNodeSyntaxStyler } from './SyntaxStyler/DocNodeSyntaxStyler'; import { SampleInputs } from './samples/SampleInputs'; -export const enum Theme { +export enum Theme { vs = 'vs' } diff --git a/tsdoc/src/beta/DeclarationReference.ts b/tsdoc/src/beta/DeclarationReference.ts index 13e51025..9a344a5f 100644 --- a/tsdoc/src/beta/DeclarationReference.ts +++ b/tsdoc/src/beta/DeclarationReference.ts @@ -251,7 +251,7 @@ export class DeclarationReference { * Indicates the symbol table from which to resolve the next symbol component. * @beta */ -export const enum Navigation { +export enum Navigation { Exports = '.', Members = '#', Locals = '~' @@ -566,7 +566,7 @@ export class ComponentNavigation extends ComponentPathBase { /** * @beta */ -export const enum Meaning { +export enum Meaning { Class = 'class', // SymbolFlags.Class Interface = 'interface', // SymbolFlags.Interface TypeAlias = 'type', // SymbolFlags.TypeAlias diff --git a/tsdoc/src/nodes/DocNode.ts b/tsdoc/src/nodes/DocNode.ts index 9657c347..243cf618 100644 --- a/tsdoc/src/nodes/DocNode.ts +++ b/tsdoc/src/nodes/DocNode.ts @@ -7,7 +7,7 @@ import type { TSDocConfiguration } from '../configuration/TSDocConfiguration'; * Indicates the type of {@link DocNode}. * * @remarks - * When creating custom subclasses of `DocNode`, it's recommended to create your own const enum to identify them. + * When creating custom subclasses of `DocNode`, it's recommended to create your own enum to identify them. * To avoid naming conflicts between projects, the enum value should be a string comprised of your full * NPM package name, followed by a "#" symbol, followed by the class name (without the "Doc" prefix). */ diff --git a/tsdoc/src/parser/ParagraphSplitter.ts b/tsdoc/src/parser/ParagraphSplitter.ts index 6bba389d..3e00b3e4 100644 --- a/tsdoc/src/parser/ParagraphSplitter.ts +++ b/tsdoc/src/parser/ParagraphSplitter.ts @@ -56,7 +56,7 @@ export class ParagraphSplitter { let currentParagraph: DocParagraph = new DocParagraph({ configuration: oldParagraph.configuration }); outputNodes.push(currentParagraph); - const enum SplitterState { + enum SplitterState { Start, AwaitingTrailer, ReadingTrailer