import { ensureValidParameterName } from '../Shared/ParameterNameValidator' ; import { IFunctionParameter } from './IFunctionParameter' ; export class FunctionParameter implements IFunctionParameter { constructor ( public readonly name , public readonly isOptional ) { ensureValidParameterName ( name ) ; } }