methods.ts 712 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. export class Point {
  2. /**
  3. * Does something.
  4. */
  5. foo() {}
  6. /**
  7. * Does something else.
  8. */
  9. bar() {}
  10. /**
  11. * Does
  12. * something
  13. * much
  14. * better
  15. * than
  16. * the
  17. * rest.
  18. */
  19. baz() {}
  20. /**
  21. * Buzz-Fizz.
  22. * Note: This is indented too far.
  23. */
  24. fizzBuzz() {}
  25. /**
  26. * Turns the given string into pig-latin.
  27. */
  28. pigLatinize(value: string) {
  29. /**
  30. * This is a block comment inside of a method.
  31. */
  32. }
  33. /**
  34. * One
  35. * Two
  36. * Three
  37. * Four
  38. */
  39. mismatchedIndentation() {}
  40. }