The doc-sniffing dog
1export function documentedFunction(x: number): number {
2 return x * 2;
3}
4
5export class UndocumentedClass {
6 constructor(public name: string) {}
7
8 greet(): string {
9 return `Hello, ${this.name}`;
10 }
11}
12
13export interface DocumentedInterface {
14 id: string;
15 value: number;
16}
17
18export const undocumentedConst = 42;