martijnversluis/ChordSheetJS

View on GitHub
src/formatter/configuration/metadata_configuration.ts

Summary

Maintainability
A
0 mins
Test Coverage
export interface MetadataConfigurationProperties {
  separator?: string;
}

export const defaultMetadataConfiguration: MetadataConfigurationProperties = {
  separator: ',',
};

class MetadataConfiguration {
  separator?: string;

  constructor(metadataConfiguration: MetadataConfigurationProperties = defaultMetadataConfiguration) {
    this.separator = metadataConfiguration.separator;
  }
}

export default MetadataConfiguration;