Skip to content

Instantly share code, notes, and snippets.

@ematipico
Last active February 18, 2022 09:31
Show Gist options
  • Save ematipico/ff0c418a5069c6260879b2d047a777ed to your computer and use it in GitHub Desktop.
Save ematipico/ff0c418a5069c6260879b2d047a777ed to your computer and use it in GitHub Desktop.
Rome vs prettier

My implementation

interface D extends
	B<string,symbol>,
	F<string,symbol>,
	G<string,number,symbol>,
	H<string,number,symbol>
{
	something1: string,
	something2: string,
	something3: string,
	something4: string,
	something5: string,
}

Prettier

interface D
  extends B<string, symbol>,
    F<string, symbol>,
    G<string, number, symbol>,
    H<string, number, symbol> {
  something1: string;
  something2: string;
  something3: string;
  something4: string;
  something5: string;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment