Skip to content

Instantly share code, notes, and snippets.

@dbwodlf3
Created July 30, 2023 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbwodlf3/9017f68c9ea163a26747fd0b3a2363d1 to your computer and use it in GitHub Desktop.
Save dbwodlf3/9017f68c9ea163a26747fd0b3a2363d1 to your computer and use it in GitHub Desktop.
bad code example
interface BoardCreateDTO {
}
export class Board {
constructor(){}
}
export class Board {
constructor(){}
}
export const TAG_TYPE = ["info", "meta"]
TagCreateDTO {
tag: string;
}
import ./TagCreateDTO
export class Tag {
tag: string;
constructor(tagDTO: TagCreateDTO){
this.name = tag;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment