File: assignmentToVoidZero2.errors.txt

package info (click to toggle)
node-typescript 4.9.5%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 533,908 kB
  • sloc: javascript: 2,018,330; makefile: 7; sh: 1
file content (39 lines) | stat: -rw-r--r-- 1,787 bytes parent folder | download | duplicates (4)
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
tests/cases/conformance/salsa/assignmentToVoidZero2.js(2,9): error TS2339: Property 'k' does not exist on type 'typeof import("tests/cases/conformance/salsa/assignmentToVoidZero2")'.
tests/cases/conformance/salsa/assignmentToVoidZero2.js(5,3): error TS2339: Property 'y' does not exist on type 'typeof o'.
tests/cases/conformance/salsa/assignmentToVoidZero2.js(6,9): error TS2339: Property 'y' does not exist on type 'typeof o'.
tests/cases/conformance/salsa/assignmentToVoidZero2.js(10,10): error TS2339: Property 'q' does not exist on type 'C'.
tests/cases/conformance/salsa/assignmentToVoidZero2.js(13,9): error TS2339: Property 'q' does not exist on type 'C'.
tests/cases/conformance/salsa/importer.js(1,13): error TS2305: Module '"./assignmentToVoidZero2"' has no exported member 'k'.


==== tests/cases/conformance/salsa/assignmentToVoidZero2.js (5 errors) ====
    exports.j = 1;
    exports.k = void 0;
            ~
!!! error TS2339: Property 'k' does not exist on type 'typeof import("tests/cases/conformance/salsa/assignmentToVoidZero2")'.
    var o = {}
    o.x = 1
    o.y = void 0
      ~
!!! error TS2339: Property 'y' does not exist on type 'typeof o'.
    o.x + o.y
            ~
!!! error TS2339: Property 'y' does not exist on type 'typeof o'.
    
    function C() {
        this.p = 1
        this.q = void 0
             ~
!!! error TS2339: Property 'q' does not exist on type 'C'.
    }
    var c = new C()
    c.p + c.q
            ~
!!! error TS2339: Property 'q' does not exist on type 'C'.
    
==== tests/cases/conformance/salsa/importer.js (1 errors) ====
    import { j, k } from './assignmentToVoidZero2'
                ~
!!! error TS2305: Module '"./assignmentToVoidZero2"' has no exported member 'k'.
    j + k