The export enum SiteTemplate is defining an enumeration in TypeScript. It assigns numeric values
to each member of the enumeration. In this case, "CommunicationSite" is assigned a value of 1 and
"TeamSite" is assigned a value of 2. This allows you to use these values as options when working
with the SiteTemplate type.
The
export enum SiteTemplate
is defining an enumeration in TypeScript. It assigns numeric values to each member of the enumeration. In this case, "CommunicationSite" is assigned a value of 1 and "TeamSite" is assigned a value of 2. This allows you to use these values as options when working with theSiteTemplate
type.