File: noImplicitAnyAndPrivateMembersWithoutTypeAnnotations.types

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 (25 lines) | stat: -rw-r--r-- 471 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
=== tests/cases/compiler/app.ts ===
/// <reference path="test.d.ts" />
var x = new Something();
>x : Something
>new Something() : Something
>Something : typeof Something

=== tests/cases/compiler/test.d.ts ===
declare class Something
>Something : Something
{
    private static someStaticVar;
>someStaticVar : any

    private someVar;
>someVar : any

    private get getter();
>getter : any

    private set setter(v);
>setter : any
>v : any
}