File: undeclaredModuleError.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 (65 lines) | stat: -rw-r--r-- 3,138 bytes parent folder | download
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
=== tests/cases/compiler/undeclaredModuleError.ts ===
import fs = require('fs');
>fs : any

function readdir(path: string, accept: (stat: fs.Stats, name: string) => boolean, callback: (error: Error, results: { name: string; stat: fs.Stats; }[]) => void ) {}
>readdir : (path: string, accept: (stat: any, name: string) => boolean, callback: (error: Error, results: { name: string; stat: any; }[]) => void) => void
>path : string
>accept : (stat: any, name: string) => boolean
>stat : any
>fs : any
>name : string
>callback : (error: Error, results: { name: string; stat: any; }[]) => void
>error : Error
>results : { name: string; stat: any; }[]
>name : string
>stat : any
>fs : any

function join(...paths: string[]) {}
>join : (...paths: string[]) => void
>paths : string[]

function instrumentFile(covFileDir: string, covFileName: string, originalFilePath: string) {
>instrumentFile : (covFileDir: string, covFileName: string, originalFilePath: string) => void
>covFileDir : string
>covFileName : string
>originalFilePath : string

    fs.readFile(originalFilePath, () => {       
>fs.readFile(originalFilePath, () => {               readdir(covFileDir, () => {        } , (error: Error, files: {}[]) => {                files.forEach((file) => {                    var fullPath = join(IDoNotExist);                } );            } );    } ) : any
>fs.readFile : any
>fs : any
>readFile : any
>originalFilePath : string
>() => {               readdir(covFileDir, () => {        } , (error: Error, files: {}[]) => {                files.forEach((file) => {                    var fullPath = join(IDoNotExist);                } );            } );    } : () => void

        readdir(covFileDir, () => {
>readdir(covFileDir, () => {        } , (error: Error, files: {}[]) => {                files.forEach((file) => {                    var fullPath = join(IDoNotExist);                } );            } ) : void
>readdir : (path: string, accept: (stat: any, name: string) => boolean, callback: (error: Error, results: { name: string; stat: any; }[]) => void) => void
>covFileDir : string
>() => {        } : () => void

        } , (error: Error, files: {}[]) => {
>(error: Error, files: {}[]) => {                files.forEach((file) => {                    var fullPath = join(IDoNotExist);                } );            } : (error: Error, files: {}[]) => void
>error : Error
>files : {}[]

                files.forEach((file) => {
>files.forEach((file) => {                    var fullPath = join(IDoNotExist);                } ) : void
>files.forEach : (callbackfn: (value: {}, index: number, array: {}[]) => void, thisArg?: any) => void
>files : {}[]
>forEach : (callbackfn: (value: {}, index: number, array: {}[]) => void, thisArg?: any) => void
>(file) => {                    var fullPath = join(IDoNotExist);                } : (file: {}) => void
>file : {}

                    var fullPath = join(IDoNotExist);
>fullPath : void
>join(IDoNotExist) : void
>join : (...paths: string[]) => void
>IDoNotExist : any

                } );
            } );
    } );
}