File: typesVersions.multiFile.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 (35 lines) | stat: -rw-r--r-- 898 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
=== tests/cases/conformance/moduleResolution/node_modules/ext/index.d.ts ===
export const a = "default a";
>a : "default a"
>"default a" : "default a"

=== tests/cases/conformance/moduleResolution/node_modules/ext/other.d.ts ===
export const b = "default b";
>b : "default b"
>"default b" : "default b"

=== tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.d.ts ===
export const a = "ts3.1 a";
>a : "ts3.1 a"
>"ts3.1 a" : "ts3.1 a"

=== tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/other.d.ts ===
export const b = "ts3.1 b";
>b : "ts3.1 b"
>"ts3.1 b" : "ts3.1 b"

=== tests/cases/conformance/moduleResolution/main.ts ===
import { a } from "ext";
>a : "ts3.1 a"

import { b } from "ext/other";
>b : "ts3.1 b"

const aa: "ts3.1 a" = a;
>aa : "ts3.1 a"
>a : "ts3.1 a"

const bb: "ts3.1 b" = b;
>bb : "ts3.1 b"
>b : "ts3.1 b"