You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
300 B

  1. export class Format {
  2. constructor(
  3. public name: string,
  4. public example: string,
  5. public properties: object
  6. ) {}
  7. static valueOf(
  8. { name, example, properties }:
  9. { name: string, example: string, properties: object }
  10. ) {
  11. return new Format(name, example, properties)
  12. }
  13. }