Skip to content

IToken

原文链接

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

A token.

ts
interface IToken {
    scopes: string;
    startIndex: number;
}

scopes

  • 类型: string

startIndex

  • 类型: number