File: quickInfoInheritDoc.ts

package info (click to toggle)
node-typescript 4.8.4%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 523,068 kB
  • sloc: javascript: 1,735,777; makefile: 7; sh: 1
file content (65 lines) | stat: -rw-r--r-- 1,785 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/// <reference path="fourslash.ts" />

// @noEmit: true
// @allowJs: true

// @Filename: quickInfoInheritDoc.ts
////abstract class BaseClass {
////    /**
////     * Useful description always applicable
////     * 
////     * @returns {string} Useful description of return value always applicable.
////     */
////    public static doSomethingUseful(stuff?: any): string {
////        throw new Error('Must be implemented by subclass');
////    }
////
////    /**
////     * BaseClass.func1
////     * @param {any} stuff1 BaseClass.func1.stuff1
////     * @returns {void} BaseClass.func1.returns
////     */
////    public static func1(stuff1: any): void {
////    }
////
////    /**
////     * Applicable description always.
////     */
////    public static readonly someProperty: string = 'general value';
////}
////
////
////
////
////class SubClass extends BaseClass {
////
////    /**
////     * @inheritDoc
////     * 
////     * @param {{ tiger: string; lion: string; }} [mySpecificStuff] Description of my specific parameter.
////     */
////    public static /*1*/doSomethingUseful(mySpecificStuff?: { tiger: string; lion: string; }): string {
////        let useful = '';
////
////        // do something useful to useful
////
////        return useful;
////    }
////
////    /**
////     * @inheritDoc
////     * @param {any} stuff1 SubClass.func1.stuff1
////     * @returns {void} SubClass.func1.returns
////     */
////    public static /*2*/func1(stuff1: any): void {
////    }
////
////    /**
////     * text over tag
////     * @inheritDoc
////     * text after tag
////     */
////    public static readonly /*3*/someProperty: string = 'specific to this class value'
////}

verify.baselineQuickInfo();