gpx-builder
Version:
Builder of GPX files
18 lines (17 loc) • 498 B
TypeScript
import { Copyright as CopyrightData } from '../../../types';
export default class Copyright {
private author;
private year?;
private license?;
/**
* @param author - Owner of licence
* @param year - Year of licence
* @param license - Type of licence
* @see http://www.topografix.com/gpx/1/1/#type_copyrightType
*/
constructor(author: string, { year, license, }: {
license?: string;
year?: number;
});
toObject(): CopyrightData;
}