File: stringLiteralTypesInVariableDeclarations01.symbols

package info (click to toggle)
node-typescript 5.0.4%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 459,116 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (43 lines) | stat: -rw-r--r-- 1,395 bytes parent folder | download | duplicates (5)
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
=== tests/cases/conformance/types/stringLiteral/stringLiteralTypesInVariableDeclarations01.ts ===
let a: "";
>a : Symbol(a, Decl(stringLiteralTypesInVariableDeclarations01.ts, 0, 3))

var b: "foo";
>b : Symbol(b, Decl(stringLiteralTypesInVariableDeclarations01.ts, 1, 3))

let c: "bar";
>c : Symbol(c, Decl(stringLiteralTypesInVariableDeclarations01.ts, 2, 3))

const d: "baz";
>d : Symbol(d, Decl(stringLiteralTypesInVariableDeclarations01.ts, 3, 5))

a = "";
>a : Symbol(a, Decl(stringLiteralTypesInVariableDeclarations01.ts, 0, 3))

b = "foo";
>b : Symbol(b, Decl(stringLiteralTypesInVariableDeclarations01.ts, 1, 3))

c = "bar";
>c : Symbol(c, Decl(stringLiteralTypesInVariableDeclarations01.ts, 2, 3))

let e: "" = "";
>e : Symbol(e, Decl(stringLiteralTypesInVariableDeclarations01.ts, 9, 3))

var f: "foo" = "foo";
>f : Symbol(f, Decl(stringLiteralTypesInVariableDeclarations01.ts, 10, 3))

let g: "bar" = "bar";
>g : Symbol(g, Decl(stringLiteralTypesInVariableDeclarations01.ts, 11, 3))

const h: "baz" = "baz";
>h : Symbol(h, Decl(stringLiteralTypesInVariableDeclarations01.ts, 12, 5))

e = "";
>e : Symbol(e, Decl(stringLiteralTypesInVariableDeclarations01.ts, 9, 3))

f = "foo";
>f : Symbol(f, Decl(stringLiteralTypesInVariableDeclarations01.ts, 10, 3))

g = "bar";
>g : Symbol(g, Decl(stringLiteralTypesInVariableDeclarations01.ts, 11, 3))