File: library-reference-5.errors.txt

package info (click to toggle)
node-typescript 4.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 396,552 kB
  • sloc: javascript: 1,444,377; makefile: 7; sh: 3
file content (25 lines) | stat: -rw-r--r-- 1,212 bytes parent folder | download | duplicates (2)
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
/node_modules/bar/index.d.ts(1,23): error TS4090: Conflicting definitions for 'alpha' found at '/node_modules/bar/node_modules/alpha/index.d.ts' and '/node_modules/foo/node_modules/alpha/index.d.ts'. Consider installing a specific version of this library to resolve the conflict.


==== /src/root.ts (0 errors) ====
    /// <reference types="foo" />
    /// <reference types="bar" />
    
==== /node_modules/foo/index.d.ts (0 errors) ====
    // Secondary references may not be duplicated if they disagree in content
    
    /// <reference types="alpha" />
    declare var foo: any;
    
==== /node_modules/foo/node_modules/alpha/index.d.ts (0 errors) ====
    declare var alpha: any;
    
==== /node_modules/bar/index.d.ts (1 errors) ====
    /// <reference types="alpha" />
                          ~~~~~
!!! error TS4090: Conflicting definitions for 'alpha' found at '/node_modules/bar/node_modules/alpha/index.d.ts' and '/node_modules/foo/node_modules/alpha/index.d.ts'. Consider installing a specific version of this library to resolve the conflict.
    declare var bar: any;
    
==== /node_modules/bar/node_modules/alpha/index.d.ts (0 errors) ====
    declare var alpha: {};