File: maxNodeModuleJsDepthDefaultsToZero.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 (22 lines) | stat: -rw-r--r-- 584 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
=== /index.ts ===
/// <reference path="/typings/index.d.ts" />
import * as foo from "shortid";
>foo : Symbol(foo, Decl(index.ts, 1, 6))

foo.x // found in index.d.ts
>foo.x : Symbol(foo.x, Decl(index.d.ts, 1, 14))
>foo : Symbol(foo, Decl(index.ts, 1, 6))
>x : Symbol(foo.x, Decl(index.d.ts, 1, 14))

foo.y // ignored from shortid/index.js
>foo : Symbol(foo, Decl(index.ts, 1, 6))


=== /typings/index.d.ts ===
declare module "shortid" {
>"shortid" : Symbol("shortid", Decl(index.d.ts, 0, 0))

    export var x: number;
>x : Symbol(x, Decl(index.d.ts, 1, 14))
}