File: didYouMeanSuggestionErrors.types

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (125 lines) | stat: -rw-r--r-- 4,775 bytes parent folder | download | duplicates (2)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
=== tests/cases/compiler/didYouMeanSuggestionErrors.ts ===
describe("my test suite", () => {
>describe("my test suite", () => {    it("should run", () => {        const a = $(".thing");    });}) : any
>describe : any
>"my test suite" : "my test suite"
>() => {    it("should run", () => {        const a = $(".thing");    });} : () => void

    it("should run", () => {
>it("should run", () => {        const a = $(".thing");    }) : any
>it : any
>"should run" : "should run"
>() => {        const a = $(".thing");    } : () => void

        const a = $(".thing");
>a : any
>$(".thing") : any
>$ : any
>".thing" : ".thing"

    });
});

suite("another suite", () => {
>suite("another suite", () => {    test("everything else", () => {        console.log(process.env);        document.createElement("div");        const x = require("fs");        const y = Buffer.from([]);        const z = module.exports;        const a = new Map();        const b = new Set();        const c = new WeakMap();        const d = new WeakSet();        const e = Symbol();        const f = Promise.resolve(0);        const i: Iterator<any> = null as any;        const j: AsyncIterator<any> = null as any;        const k: Symbol = null as any;        const l: Promise<any> = null as any;    });}) : any
>suite : any
>"another suite" : "another suite"
>() => {    test("everything else", () => {        console.log(process.env);        document.createElement("div");        const x = require("fs");        const y = Buffer.from([]);        const z = module.exports;        const a = new Map();        const b = new Set();        const c = new WeakMap();        const d = new WeakSet();        const e = Symbol();        const f = Promise.resolve(0);        const i: Iterator<any> = null as any;        const j: AsyncIterator<any> = null as any;        const k: Symbol = null as any;        const l: Promise<any> = null as any;    });} : () => void

    test("everything else", () => {
>test("everything else", () => {        console.log(process.env);        document.createElement("div");        const x = require("fs");        const y = Buffer.from([]);        const z = module.exports;        const a = new Map();        const b = new Set();        const c = new WeakMap();        const d = new WeakSet();        const e = Symbol();        const f = Promise.resolve(0);        const i: Iterator<any> = null as any;        const j: AsyncIterator<any> = null as any;        const k: Symbol = null as any;        const l: Promise<any> = null as any;    }) : any
>test : any
>"everything else" : "everything else"
>() => {        console.log(process.env);        document.createElement("div");        const x = require("fs");        const y = Buffer.from([]);        const z = module.exports;        const a = new Map();        const b = new Set();        const c = new WeakMap();        const d = new WeakSet();        const e = Symbol();        const f = Promise.resolve(0);        const i: Iterator<any> = null as any;        const j: AsyncIterator<any> = null as any;        const k: Symbol = null as any;        const l: Promise<any> = null as any;    } : () => void

        console.log(process.env);
>console.log(process.env) : any
>console.log : any
>console : any
>log : any
>process.env : any
>process : any
>env : any

        document.createElement("div");
>document.createElement("div") : any
>document.createElement : any
>document : any
>createElement : any
>"div" : "div"

        const x = require("fs");
>x : any
>require("fs") : any
>require : any
>"fs" : "fs"

        const y = Buffer.from([]);
>y : any
>Buffer.from([]) : any
>Buffer.from : any
>Buffer : any
>from : any
>[] : undefined[]

        const z = module.exports;
>z : any
>module.exports : any
>module : any
>exports : any

        const a = new Map();
>a : any
>new Map() : any
>Map : any

        const b = new Set();
>b : any
>new Set() : any
>Set : any

        const c = new WeakMap();
>c : any
>new WeakMap() : any
>WeakMap : any

        const d = new WeakSet();
>d : any
>new WeakSet() : any
>WeakSet : any

        const e = Symbol();
>e : any
>Symbol() : any
>Symbol : any

        const f = Promise.resolve(0);
>f : any
>Promise.resolve(0) : any
>Promise.resolve : any
>Promise : any
>resolve : any
>0 : 0

        const i: Iterator<any> = null as any;
>i : any
>null as any : any
>null : null

        const j: AsyncIterator<any> = null as any;
>j : any
>null as any : any
>null : null

        const k: Symbol = null as any;
>k : Symbol
>null as any : any
>null : null

        const l: Promise<any> = null as any;
>l : Promise<any>
>null as any : any
>null : null

    });
});