Skip to content

Instantly share code, notes, and snippets.

View shian15810's full-sized avatar

Cheeshian Chuah shian15810

  • Taiwan
  • 18:52 (UTC +08:00)
View GitHub Profile
color = "Always"
comment_width = 100
condense_wildcard_suffixes = true
edition = "2024"
error_on_line_overflow = true
error_on_unformatted = true
float_literal_trailing_zero = "Always"
format_code_in_doc_comments = true
format_macro_matchers = true
format_strings = true
class Dog {
protected bark(): void {
// console.log("bark");
this.barkMany(1);
}
protected barkMany(n: number): void {
for (let i = 0; i < n; i++) {
// this.bark();