powershell/file-formats/psscript-file.ts (8 lines of code) (raw):

/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { TextWithRegions, TextPossibilities, Text, EOL } from '@azure-tools/codegen'; export class PSScriptFile extends TextWithRegions { constructor(content?: TextPossibilities, objectIntializer?: Partial<PSScriptFile>) { content = content || ''; super(content); this.apply(objectIntializer); } }