File: jsxIntrinsicUnions.symbols

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 (19 lines) | stat: -rw-r--r-- 837 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
=== tests/cases/compiler/jsxIntrinsicUnions.tsx ===
/// <reference path="react16.d.ts" />

import * as React from "react";
>React : Symbol(React, Decl(jsxIntrinsicUnions.tsx, 2, 6))

const El = Math.random() ? 'h1' : 'h2';
>El : Symbol(El, Decl(jsxIntrinsicUnions.tsx, 4, 5))
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))

const tag = <El className="ok" key="key">{"Title"}</El>;
>tag : Symbol(tag, Decl(jsxIntrinsicUnions.tsx, 6, 5))
>El : Symbol(El, Decl(jsxIntrinsicUnions.tsx, 4, 5))
>className : Symbol(className, Decl(jsxIntrinsicUnions.tsx, 6, 15))
>key : Symbol(key, Decl(jsxIntrinsicUnions.tsx, 6, 30))
>El : Symbol(El, Decl(jsxIntrinsicUnions.tsx, 4, 5))