Skip to content

Home > vue-metamorph > VueProgram

VueProgram type ​

An ESTree Program node with an extra isScriptSetup property, which says whether the program holds the contents of a <script setup> block in a Vue SFC.

Signature:

typescript
export type VueProgram = namedTypes.Program & {
    isScriptSetup: boolean;
};

References: namedTypes.Program