Skip to content

getHighestKnownSyntaxVersion()

PromptScript API


getHighestKnownSyntaxVersion(): string

Defined in: core/src/syntax-versions.ts:214

Get the highest syntax version in the registry, which can be above the default version that new files are written with.

Returns

string