import { CommandNames } from "../Names/CommandNames" ; import { BlockEndCommand } from "./BlockEndCommand" ; import { CommandMetadata } from "./Metadata/CommandMetadata" ; /**
 * Ends an interface declaration.
 */ export class InterfaceEndCommand extends BlockEndCommand { /**
     * Metadata on the command.
     */ private static metadata : CommandMetadata = new CommandMetadata ( CommandNames . InterfaceEnd ) . withDescription ( "Ends an interface declaration" ) . withIndentation ( [ - 1 ] ) ; returns public getMetadata ( ) { return InterfaceEndCommand . metadata ; } returns protected renderBlockEnd ( ) { if ( this . language . syntax . interfaces . supported ) { return this . language . syntax . interfaces . declareEnd ; } return "" ; } }