Skip to content

SemanticTokensLegend

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.SemanticTokensLegend.html

ts
interface SemanticTokensLegend {
    tokenModifiers: string[];
    tokenTypes: string[];
}

tokenModifiers

  • 类型: string[]

tokenTypes

  • 类型: string[]