mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Require module/moduleResolution to match when either is node16/nodenext (#54567)
This commit is contained in:
@@ -4329,6 +4329,14 @@
|
||||
"category": "Error",
|
||||
"code": 5108
|
||||
},
|
||||
"Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'.": {
|
||||
"category": "Error",
|
||||
"code": 5109
|
||||
},
|
||||
"Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'.": {
|
||||
"category": "Error",
|
||||
"code": 5110
|
||||
},
|
||||
|
||||
"Generates a sourcemap for each corresponding '.d.ts' file.": {
|
||||
"category": "Message",
|
||||
|
||||
@@ -4404,6 +4404,24 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg
|
||||
createOptionValueDiagnostic("moduleResolution", Diagnostics.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later, "bundler");
|
||||
}
|
||||
|
||||
if (
|
||||
ModuleKind[moduleKind] &&
|
||||
(ModuleKind.Node16 <= moduleKind && moduleKind <= ModuleKind.NodeNext) &&
|
||||
!(ModuleResolutionKind.Node16 <= moduleResolution && moduleResolution <= ModuleResolutionKind.NodeNext)
|
||||
) {
|
||||
const moduleKindName = ModuleKind[moduleKind];
|
||||
createOptionValueDiagnostic("moduleResolution", Diagnostics.Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1, moduleKindName, moduleKindName);
|
||||
}
|
||||
else if (
|
||||
ModuleResolutionKind[moduleResolution] &&
|
||||
(ModuleResolutionKind.Node16 <= moduleResolution && moduleResolution <= ModuleResolutionKind.NodeNext) &&
|
||||
!(ModuleKind.Node16 <= moduleKind && moduleKind <= ModuleKind.NodeNext)
|
||||
) {
|
||||
const moduleResolutionName = ModuleResolutionKind[moduleResolution];
|
||||
createOptionValueDiagnostic("module", Diagnostics.Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1, moduleResolutionName, moduleResolutionName);
|
||||
}
|
||||
|
||||
|
||||
// If the emit is enabled make sure that every output file is unique and not overwriting any of the input files
|
||||
if (!options.noEmit && !options.suppressOutputPathCheck) {
|
||||
const emitHost = getEmitHost();
|
||||
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
/c.ts(1,16): error TS2307: Cannot find module './thisfiledoesnotexist.ts' or its corresponding type declarations.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
==== /ts.ts (0 errors) ====
|
||||
export {};
|
||||
|
||||
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
/c.ts(1,16): error TS2307: Cannot find module './thisfiledoesnotexist.ts' or its corresponding type declarations.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
==== /ts.ts (0 errors) ====
|
||||
export {};
|
||||
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
==== /types.d.ts (0 errors) ====
|
||||
export declare type User = {
|
||||
name: string;
|
||||
}
|
||||
|
||||
==== /a.ts (0 errors) ====
|
||||
import type { User } from "./types.d.ts";
|
||||
export type { User } from "./types.d.ts";
|
||||
|
||||
export const user: User = { name: "John" };
|
||||
|
||||
export function getUser(): import("./types.d.ts").User {
|
||||
return user;
|
||||
}
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
==== /types.d.ts (0 errors) ====
|
||||
export declare type User = {
|
||||
name: string;
|
||||
}
|
||||
|
||||
==== /a.ts (0 errors) ====
|
||||
import type { User } from "./types.d.ts";
|
||||
export type { User } from "./types.d.ts";
|
||||
|
||||
export const user: User = { name: "John" };
|
||||
|
||||
export function getUser(): import("./types.d.ts").User {
|
||||
return user;
|
||||
}
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
==== /types.d.ts (0 errors) ====
|
||||
export declare type User = {
|
||||
name: string;
|
||||
}
|
||||
|
||||
==== /a.ts (0 errors) ====
|
||||
import type { User } from "./types.d.ts";
|
||||
export type { User } from "./types.d.ts";
|
||||
|
||||
export const user: User = { name: "John" };
|
||||
|
||||
export function getUser(): import("./types.d.ts").User {
|
||||
return user;
|
||||
}
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
==== /types.d.ts (0 errors) ====
|
||||
export declare type User = {
|
||||
name: string;
|
||||
}
|
||||
|
||||
==== /a.ts (0 errors) ====
|
||||
import type { User } from "./types.d.ts";
|
||||
export type { User } from "./types.d.ts";
|
||||
|
||||
export const user: User = { name: "John" };
|
||||
|
||||
export function getUser(): import("./types.d.ts").User {
|
||||
return user;
|
||||
}
|
||||
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
==== /node_modules/dep/package.json (0 errors) ====
|
||||
// This documents bug https://github.com/microsoft/TypeScript/issues/50762.
|
||||
|
||||
{
|
||||
"name": "dep",
|
||||
"version": "1.0.0",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
==== /node_modules/dep/dist/index.d.ts (0 errors) ====
|
||||
export {};
|
||||
|
||||
==== /node_modules/dep/dist/index.mjs (0 errors) ====
|
||||
export {};
|
||||
|
||||
==== /index.mts (0 errors) ====
|
||||
import {} from "dep";
|
||||
// Should be an untyped resolution to dep/dist/index.mjs,
|
||||
// but the first search is only for TS files, and when
|
||||
// there's no dist/index.d.mts, it continues looking for
|
||||
// matching conditions and resolves via `types`.
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
==== /node_modules/dep/package.json (0 errors) ====
|
||||
// This documents bug https://github.com/microsoft/TypeScript/issues/50762.
|
||||
|
||||
{
|
||||
"name": "dep",
|
||||
"version": "1.0.0",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
==== /node_modules/dep/dist/index.d.ts (0 errors) ====
|
||||
export {};
|
||||
|
||||
==== /node_modules/dep/dist/index.mjs (0 errors) ====
|
||||
export {};
|
||||
|
||||
==== /index.mts (0 errors) ====
|
||||
import {} from "dep";
|
||||
// Should be an untyped resolution to dep/dist/index.mjs,
|
||||
// but the first search is only for TS files, and when
|
||||
// there's no dist/index.d.mts, it continues looking for
|
||||
// matching conditions and resolves via `types`.
|
||||
@@ -0,0 +1,31 @@
|
||||
error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
==== index.js (0 errors) ====
|
||||
import { Foo } from "./other.js";
|
||||
import * as other from "./other.js";
|
||||
import defaultFoo from "./other.js";
|
||||
|
||||
const x = new Foo();
|
||||
const y = other.Foo();
|
||||
const z = new defaultFoo();
|
||||
|
||||
==== other.d.ts (0 errors) ====
|
||||
export interface Foo {
|
||||
bar: number;
|
||||
}
|
||||
|
||||
export default interface Bar {
|
||||
foo: number;
|
||||
}
|
||||
|
||||
==== other.js (0 errors) ====
|
||||
export class Foo {
|
||||
bar = 2.4;
|
||||
}
|
||||
|
||||
export default class Bar {
|
||||
foo = 1.2;
|
||||
}
|
||||
|
||||
@@ -11,21 +11,21 @@ import defaultFoo from "./other.js";
|
||||
>defaultFoo : any
|
||||
|
||||
const x = new Foo();
|
||||
>x : error
|
||||
>new Foo() : error
|
||||
>Foo : error
|
||||
>x : any
|
||||
>new Foo() : any
|
||||
>Foo : any
|
||||
|
||||
const y = other.Foo();
|
||||
>y : error
|
||||
>other.Foo() : error
|
||||
>other.Foo : error
|
||||
>y : any
|
||||
>other.Foo() : any
|
||||
>other.Foo : any
|
||||
>other : typeof other
|
||||
>Foo : any
|
||||
|
||||
const z = new defaultFoo();
|
||||
>z : error
|
||||
>new defaultFoo() : error
|
||||
>defaultFoo : error
|
||||
>z : any
|
||||
>new defaultFoo() : any
|
||||
>defaultFoo : any
|
||||
|
||||
=== other.d.ts ===
|
||||
export interface Foo {
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
==== index.js (0 errors) ====
|
||||
import { Foo } from "./other.js";
|
||||
import * as other from "./other.js";
|
||||
import defaultFoo from "./other.js";
|
||||
|
||||
const x = new Foo();
|
||||
const y = other.Foo();
|
||||
const z = new defaultFoo();
|
||||
|
||||
==== other.d.ts (0 errors) ====
|
||||
export interface Foo {
|
||||
bar: number;
|
||||
}
|
||||
|
||||
export default interface Bar {
|
||||
foo: number;
|
||||
}
|
||||
|
||||
==== other.js (0 errors) ====
|
||||
export class Foo {
|
||||
bar = 2.4;
|
||||
}
|
||||
|
||||
export default class Bar {
|
||||
foo = 1.2;
|
||||
}
|
||||
|
||||
@@ -11,21 +11,21 @@ import defaultFoo from "./other.js";
|
||||
>defaultFoo : any
|
||||
|
||||
const x = new Foo();
|
||||
>x : error
|
||||
>new Foo() : error
|
||||
>Foo : error
|
||||
>x : any
|
||||
>new Foo() : any
|
||||
>Foo : any
|
||||
|
||||
const y = other.Foo();
|
||||
>y : error
|
||||
>other.Foo() : error
|
||||
>other.Foo : error
|
||||
>y : any
|
||||
>other.Foo() : any
|
||||
>other.Foo : any
|
||||
>other : typeof other
|
||||
>Foo : any
|
||||
|
||||
const z = new defaultFoo();
|
||||
>z : error
|
||||
>new defaultFoo() : error
|
||||
>defaultFoo : error
|
||||
>z : any
|
||||
>new defaultFoo() : any
|
||||
>defaultFoo : any
|
||||
|
||||
=== other.d.ts ===
|
||||
export interface Foo {
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
error TS5109: Option 'moduleResolution' must be set to 'Node16' (or left unspecified) when option 'module' is set to 'Node16'.
|
||||
|
||||
|
||||
!!! error TS5109: Option 'moduleResolution' must be set to 'Node16' (or left unspecified) when option 'module' is set to 'Node16'.
|
||||
==== a.ts (0 errors) ====
|
||||
declare var dec: any, __decorate: any;
|
||||
@dec export class A {
|
||||
}
|
||||
|
||||
const o = { a: 1 };
|
||||
const y = { ...o };
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
error TS5109: Option 'moduleResolution' must be set to 'NodeNext' (or left unspecified) when option 'module' is set to 'NodeNext'.
|
||||
|
||||
|
||||
!!! error TS5109: Option 'moduleResolution' must be set to 'NodeNext' (or left unspecified) when option 'module' is set to 'NodeNext'.
|
||||
==== a.ts (0 errors) ====
|
||||
declare var dec: any, __decorate: any;
|
||||
@dec export class A {
|
||||
}
|
||||
|
||||
const o = { a: 1 };
|
||||
const y = { ...o };
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
==== /project/a.js (0 errors) ====
|
||||
export default "a.js";
|
||||
|
||||
==== /project/a.js.js (0 errors) ====
|
||||
export default "a.js.js";
|
||||
|
||||
==== /project/dir/index.ts (0 errors) ====
|
||||
export default "dir/index.ts";
|
||||
|
||||
==== /project/dir.js (0 errors) ====
|
||||
export default "dir.js";
|
||||
|
||||
==== /project/b.ts (0 errors) ====
|
||||
import a from "./a.js";
|
||||
import dir from "./dir";
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
==== /project/a.js (0 errors) ====
|
||||
export default "a.js";
|
||||
|
||||
==== /project/a.js.js (0 errors) ====
|
||||
export default "a.js.js";
|
||||
|
||||
==== /project/dir/index.ts (0 errors) ====
|
||||
export default "dir/index.ts";
|
||||
|
||||
==== /project/dir.js (0 errors) ====
|
||||
export default "dir.js";
|
||||
|
||||
==== /project/b.ts (0 errors) ====
|
||||
import a from "./a.js";
|
||||
import dir from "./dir";
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
==== node_modules/lit/package.json (0 errors) ====
|
||||
{
|
||||
"name": "lit",
|
||||
"version": "0.0.1",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./development/index.d.ts"
|
||||
}
|
||||
}
|
||||
}
|
||||
==== node_modules/lit/development/index.d.ts (0 errors) ====
|
||||
export * from "lit-element/lit-element.js";
|
||||
==== node_modules/lit-element/package.json (0 errors) ====
|
||||
{
|
||||
"name": "lit-element",
|
||||
"version": "0.0.1",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./development/index.d.ts"
|
||||
},
|
||||
"./lit-element.js": {
|
||||
"types": "./development/lit-element.d.ts"
|
||||
}
|
||||
}
|
||||
}
|
||||
==== node_modules/lit-element/development/index.d.ts (0 errors) ====
|
||||
export * from "./lit-element.js";
|
||||
==== node_modules/lit-element/development//lit-element.d.ts (0 errors) ====
|
||||
export class LitElement {}
|
||||
==== package.json (0 errors) ====
|
||||
{
|
||||
"type": "module",
|
||||
"private": true
|
||||
}
|
||||
==== index.js (0 errors) ====
|
||||
import { LitElement, LitElement as LitElement2 } from "lit";
|
||||
export class ElementB extends LitElement {}
|
||||
export class ElementC extends LitElement2 {}
|
||||
@@ -0,0 +1,36 @@
|
||||
error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
==== package.json (0 errors) ====
|
||||
{
|
||||
"name": "test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"type": "module",
|
||||
"module": "index.mjs"
|
||||
}
|
||||
|
||||
==== index.mts (0 errors) ====
|
||||
import * as exportAny from "./exportAny.cjs";
|
||||
import * as exportUnknown from "./exportUnknown.cjs";
|
||||
import * as exportSymbol from "./exportSymbol.cjs";
|
||||
|
||||
import type * as exportAnyType from "./exportAny.cjs";
|
||||
import type * as exportUnknownType from "./exportUnknown.cjs";
|
||||
import type * as exportSymbolType from "./exportSymbol.cjs";
|
||||
|
||||
==== exportAny.d.cts (0 errors) ====
|
||||
declare const __: any;
|
||||
export = __;
|
||||
|
||||
|
||||
==== exportUnknown.d.cts (0 errors) ====
|
||||
declare const __: unknown;
|
||||
export = __;
|
||||
|
||||
|
||||
==== exportSymbol.d.cts (0 errors) ====
|
||||
declare const __: symbol;
|
||||
export = __;
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
==== node_modules/pkg/package.json (0 errors) ====
|
||||
{
|
||||
"name": "pkg",
|
||||
"version": "0.0.1",
|
||||
"exports": "./entrypoint.js"
|
||||
}
|
||||
==== node_modules/pkg/entrypoint.d.ts (0 errors) ====
|
||||
export declare function thing(): void;
|
||||
==== index.ts (0 errors) ====
|
||||
import * as p from "pkg";
|
||||
p.thing();
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
==== node_modules/pkg/package.json (0 errors) ====
|
||||
{
|
||||
"name": "pkg",
|
||||
"version": "0.0.1",
|
||||
"exports": "./entrypoint.js"
|
||||
}
|
||||
==== node_modules/pkg/entrypoint.d.ts (0 errors) ====
|
||||
export declare function thing(): void;
|
||||
==== index.ts (0 errors) ====
|
||||
import * as p from "pkg";
|
||||
p.thing();
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
==== /node_modules/@restart/hooks/package.json (0 errors) ====
|
||||
{
|
||||
"name": "@restart/hooks",
|
||||
"version": "0.3.25",
|
||||
"main": "cjs/index.js",
|
||||
"types": "cjs/index.d.ts",
|
||||
"module": "esm/index.js"
|
||||
}
|
||||
|
||||
==== /node_modules/@restart/hooks/useMergedRefs/package.json (0 errors) ====
|
||||
{
|
||||
"name": "@restart/hooks/useMergedRefs",
|
||||
"private": true,
|
||||
"main": "../cjs/useMergedRefs.js",
|
||||
"module": "../esm/useMergedRefs.js",
|
||||
"types": "../esm/useMergedRefs.d.ts"
|
||||
}
|
||||
|
||||
==== /node_modules/@restart/hooks/esm/useMergedRefs.d.ts (0 errors) ====
|
||||
export {};
|
||||
|
||||
==== /main.ts (0 errors) ====
|
||||
import {} from "@restart/hooks/useMergedRefs";
|
||||
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
==== /node_modules/@restart/hooks/package.json (0 errors) ====
|
||||
{
|
||||
"name": "@restart/hooks",
|
||||
"version": "0.3.25",
|
||||
"main": "cjs/index.js",
|
||||
"types": "cjs/index.d.ts",
|
||||
"module": "esm/index.js"
|
||||
}
|
||||
|
||||
==== /node_modules/@restart/hooks/useMergedRefs/package.json (0 errors) ====
|
||||
{
|
||||
"name": "@restart/hooks/useMergedRefs",
|
||||
"private": true,
|
||||
"main": "../cjs/useMergedRefs.js",
|
||||
"module": "../esm/useMergedRefs.js",
|
||||
"types": "../esm/useMergedRefs.d.ts"
|
||||
}
|
||||
|
||||
==== /node_modules/@restart/hooks/esm/useMergedRefs.d.ts (0 errors) ====
|
||||
export {};
|
||||
|
||||
==== /main.ts (0 errors) ====
|
||||
import {} from "@restart/hooks/useMergedRefs";
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
/a/b/c/d/e/app.ts(1,17): error TS2307: Cannot find module 'foo' or its corresponding type declarations.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
==== /a/node_modules/foo.d.ts (0 errors) ====
|
||||
export declare let x: number
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
==== /a/node_modules/foo/index.d.ts (0 errors) ====
|
||||
export declare let x: number
|
||||
==== /a/node_modules/foo/package.json (0 errors) ====
|
||||
{
|
||||
"name": "foo",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./index.d.ts"
|
||||
}
|
||||
}
|
||||
|
||||
==== /a/b/c/d/e/app.mts (0 errors) ====
|
||||
import {x} from "foo";
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
==== index.ts (0 errors) ====
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
==== index.ts (0 errors) ====
|
||||
|
||||
+2
@@ -1,3 +1,4 @@
|
||||
error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
error TS6504: File '/node_modules/bar/index.js' is a JavaScript file. Did you mean to enable the 'allowJs' option?
|
||||
The file is in the program because:
|
||||
Root file specified for compilation
|
||||
@@ -16,6 +17,7 @@ error TS6504: File '/node_modules/foo/index.mjs' is a JavaScript file. Did you m
|
||||
There are types at '/node_modules/@types/bar/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar' library may need to update its package.json or typings.
|
||||
|
||||
|
||||
!!! error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
!!! error TS6504: File '/node_modules/bar/index.js' is a JavaScript file. Did you mean to enable the 'allowJs' option?
|
||||
!!! error TS6504: The file is in the program because:
|
||||
!!! error TS6504: Root file specified for compilation
|
||||
|
||||
@@ -326,20 +326,10 @@ File '/home/src/projects/project/node_modules/foo2/package.json' exists accordin
|
||||
File '/home/src/projects/project/node_modules/@types/bar2/package.json' exists according to earlier cached lookups.
|
||||
File '/lib/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m1[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo' library may need to update its package.json or typings.
|
||||
|
||||
[7m1[0m import { foo } from "foo";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m2[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar' library may need to update its package.json or typings.
|
||||
|
||||
[7m2[0m import { bar } from "bar";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
Found 2 errors in the same file, starting at: home/src/projects/project/index.mts[90m:1[0m
|
||||
Found 1 error.
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
Program root files: ["/home/src/projects/project/index.mts"]
|
||||
@@ -351,11 +341,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/lib/lib.d.ts
|
||||
/home/src/projects/project/node_modules/foo2/index.d.ts
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/lib/lib.d.ts (used version)
|
||||
@@ -370,7 +356,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||
|
||||
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo]
|
||||
{"program":{"fileNames":["../../../../lib/lib.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"file":"./index.mts","start":20,"length":5,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"foo","mode":99}}]}},{"file":"./index.mts","start":47,"length":5,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"bar","mode":99}}]}}]],3,2,1]},"version":"FakeTSVersion"}
|
||||
{"program":{"fileNames":["../../../../lib/lib.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]]},"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -447,60 +433,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||
"./node_modules/foo2/index.d.ts",
|
||||
"./node_modules/@types/bar2/index.d.ts"
|
||||
]
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"./index.mts",
|
||||
[
|
||||
{
|
||||
"file": "./index.mts",
|
||||
"start": 20,
|
||||
"length": 5,
|
||||
"code": 7016,
|
||||
"category": 1,
|
||||
"messageText": {
|
||||
"messageText": "Could not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.",
|
||||
"category": 1,
|
||||
"code": 7016,
|
||||
"next": [
|
||||
{
|
||||
"info": {
|
||||
"moduleReference": "foo",
|
||||
"mode": 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "./index.mts",
|
||||
"start": 47,
|
||||
"length": 5,
|
||||
"code": 7016,
|
||||
"category": 1,
|
||||
"messageText": {
|
||||
"messageText": "Could not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.",
|
||||
"category": 1,
|
||||
"code": 7016,
|
||||
"next": [
|
||||
{
|
||||
"info": {
|
||||
"moduleReference": "bar",
|
||||
"mode": 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"./node_modules/@types/bar2/index.d.ts",
|
||||
"./node_modules/foo2/index.d.ts",
|
||||
"../../../../lib/lib.d.ts"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1799
|
||||
"size": 1118
|
||||
}
|
||||
|
||||
|
||||
@@ -693,20 +629,10 @@ File '/home/src/projects/project/node_modules/foo2/package.json' exists accordin
|
||||
File '/home/src/projects/project/node_modules/@types/bar2/package.json' exists according to earlier cached lookups.
|
||||
File '/lib/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m1[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo' library may need to update its package.json or typings.
|
||||
|
||||
[7m1[0m import { foo } from "foo";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m2[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/bar` if it exists or add a new declaration (.d.ts) file containing `declare module 'bar';`
|
||||
|
||||
[7m2[0m import { bar } from "bar";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
Found 2 errors in the same file, starting at: home/src/projects/project/index.mts[90m:1[0m
|
||||
Found 1 error.
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
Program root files: ["/home/src/projects/project/index.mts"]
|
||||
@@ -718,7 +644,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -926,20 +852,10 @@ File '/home/src/projects/project/node_modules/foo2/package.json' exists accordin
|
||||
File '/home/src/projects/project/node_modules/@types/bar2/package.json' exists according to earlier cached lookups.
|
||||
File '/lib/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m1[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/foo` if it exists or add a new declaration (.d.ts) file containing `declare module 'foo';`
|
||||
|
||||
[7m1[0m import { foo } from "foo";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m2[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/bar` if it exists or add a new declaration (.d.ts) file containing `declare module 'bar';`
|
||||
|
||||
[7m2[0m import { bar } from "bar";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
Found 2 errors in the same file, starting at: home/src/projects/project/index.mts[90m:1[0m
|
||||
Found 1 error.
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
Program root files: ["/home/src/projects/project/index.mts"]
|
||||
@@ -951,7 +867,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -1148,20 +1064,10 @@ File '/home/src/projects/project/node_modules/foo2/package.json' exists accordin
|
||||
File '/home/src/projects/project/node_modules/@types/bar2/package.json' exists according to earlier cached lookups.
|
||||
File '/lib/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m1[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/foo` if it exists or add a new declaration (.d.ts) file containing `declare module 'foo';`
|
||||
|
||||
[7m1[0m import { foo } from "foo";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m2[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar' library may need to update its package.json or typings.
|
||||
|
||||
[7m2[0m import { bar } from "bar";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
Found 2 errors in the same file, starting at: home/src/projects/project/index.mts[90m:1[0m
|
||||
Found 1 error.
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
Program root files: ["/home/src/projects/project/index.mts"]
|
||||
@@ -1173,7 +1079,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -1357,20 +1263,10 @@ File '/home/src/projects/project/node_modules/foo2/package.json' exists accordin
|
||||
File '/home/src/projects/project/node_modules/@types/bar2/package.json' exists according to earlier cached lookups.
|
||||
File '/lib/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m1[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo' library may need to update its package.json or typings.
|
||||
|
||||
[7m1[0m import { foo } from "foo";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m2[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar' library may need to update its package.json or typings.
|
||||
|
||||
[7m2[0m import { bar } from "bar";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
Found 2 errors in the same file, starting at: home/src/projects/project/index.mts[90m:1[0m
|
||||
Found 1 error.
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
Program root files: ["/home/src/projects/project/index.mts"]
|
||||
@@ -1382,7 +1278,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -1538,14 +1434,10 @@ File '/home/src/projects/project/node_modules/foo2/package.json' exists accordin
|
||||
File '/home/src/projects/project/node_modules/@types/bar2/package.json' exists according to earlier cached lookups.
|
||||
File '/lib/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m1[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo' library may need to update its package.json or typings.
|
||||
|
||||
[7m1[0m import { foo } from "foo";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
Found 1 error in home/src/projects/project/index.mts[90m:1[0m
|
||||
Found 1 error.
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
Program root files: ["/home/src/projects/project/index.mts"]
|
||||
@@ -1558,9 +1450,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts (used version)
|
||||
@@ -1569,7 +1459,7 @@ Shape signatures in builder refreshed for::
|
||||
|
||||
//// [/home/src/projects/project/index.mjs] file written with same contents
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo]
|
||||
{"program":{"fileNames":["../../../../lib/lib.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"fileIdsList":[[2,3,4]],"referencedMap":[[5,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[5,[{"file":"./index.mts","start":20,"length":5,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"foo","mode":99}}]}}]],2,4,3,1]},"version":"FakeTSVersion"}
|
||||
{"program":{"fileNames":["../../../../lib/lib.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"fileIdsList":[[2,3,4]],"referencedMap":[[5,1]],"exportedModulesMap":[]},"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -1654,41 +1544,10 @@ Shape signatures in builder refreshed for::
|
||||
"./node_modules/@types/bar2/index.d.ts"
|
||||
]
|
||||
},
|
||||
"exportedModulesMap": {},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"./index.mts",
|
||||
[
|
||||
{
|
||||
"file": "./index.mts",
|
||||
"start": 20,
|
||||
"length": 5,
|
||||
"code": 7016,
|
||||
"category": 1,
|
||||
"messageText": {
|
||||
"messageText": "Could not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.",
|
||||
"category": 1,
|
||||
"code": 7016,
|
||||
"next": [
|
||||
{
|
||||
"info": {
|
||||
"moduleReference": "foo",
|
||||
"mode": 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"./node_modules/@types/bar/index.d.ts",
|
||||
"./node_modules/@types/bar2/index.d.ts",
|
||||
"./node_modules/foo2/index.d.ts",
|
||||
"../../../../lib/lib.d.ts"
|
||||
]
|
||||
"exportedModulesMap": {}
|
||||
},
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1635
|
||||
"size": 1271
|
||||
}
|
||||
|
||||
|
||||
@@ -1816,7 +1675,12 @@ File '/home/src/projects/project/node_modules/foo2/package.json' exists accordin
|
||||
File '/home/src/projects/project/node_modules/@types/bar2/package.json' exists according to earlier cached lookups.
|
||||
File '/lib/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
exitCode:: ExitStatus.Success
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
Found 1 error.
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
Program root files: ["/home/src/projects/project/index.mts"]
|
||||
Program options: {"moduleResolution":3,"traceResolution":true,"incremental":true,"strict":true,"types":[],"project":"/home/src/projects/project","configFilePath":"/home/src/projects/project/tsconfig.json"}
|
||||
Program structureReused: Not
|
||||
@@ -1828,9 +1692,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/home/src/projects/project/node_modules/foo/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/home/src/projects/project/node_modules/foo/index.d.ts (used version)
|
||||
@@ -1839,7 +1701,7 @@ Shape signatures in builder refreshed for::
|
||||
|
||||
//// [/home/src/projects/project/index.mjs] file written with same contents
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo]
|
||||
{"program":{"fileNames":["../../../../lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[6],"options":{"strict":true},"fileIdsList":[[2,3,4,5]],"referencedMap":[[6,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,3,5,2,4,1]},"version":"FakeTSVersion"}
|
||||
{"program":{"fileNames":["../../../../lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[6],"options":{"strict":true},"fileIdsList":[[2,3,4,5]],"referencedMap":[[6,1]],"exportedModulesMap":[]},"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -1936,18 +1798,10 @@ Shape signatures in builder refreshed for::
|
||||
"./node_modules/@types/bar2/index.d.ts"
|
||||
]
|
||||
},
|
||||
"exportedModulesMap": {},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
"./index.mts",
|
||||
"./node_modules/@types/bar/index.d.ts",
|
||||
"./node_modules/@types/bar2/index.d.ts",
|
||||
"./node_modules/foo/index.d.ts",
|
||||
"./node_modules/foo2/index.d.ts",
|
||||
"../../../../lib/lib.d.ts"
|
||||
]
|
||||
"exportedModulesMap": {}
|
||||
},
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1426
|
||||
"size": 1383
|
||||
}
|
||||
|
||||
|
||||
@@ -2110,14 +1964,10 @@ File '/home/src/projects/project/node_modules/@types/bar/package.json' exists ac
|
||||
File '/home/src/projects/project/node_modules/foo2/package.json' exists according to earlier cached lookups.
|
||||
File '/lib/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m4[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar2' library may need to update its package.json or typings.
|
||||
|
||||
[7m4[0m import { bar2 } from "bar2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
Found 1 error in home/src/projects/project/index.mts[90m:4[0m
|
||||
Found 1 error.
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
Program root files: ["/home/src/projects/project/index.mts"]
|
||||
@@ -2130,8 +1980,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/foo2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/home/src/projects/project/index.mts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/home/src/projects/project/index.mts (computed .d.ts)
|
||||
@@ -2139,7 +1988,7 @@ Shape signatures in builder refreshed for::
|
||||
|
||||
//// [/home/src/projects/project/index.mjs] file written with same contents
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo]
|
||||
{"program":{"fileNames":["../../../../lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./index.mts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"fileIdsList":[[2,3,4]],"referencedMap":[[5,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[5,[{"file":"./index.mts","start":104,"length":6,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"bar2","mode":99}}]}}]],3,2,4,1]},"version":"FakeTSVersion"}
|
||||
{"program":{"fileNames":["../../../../lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./index.mts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"fileIdsList":[[2,3,4]],"referencedMap":[[5,1]],"exportedModulesMap":[]},"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -2224,41 +2073,10 @@ Shape signatures in builder refreshed for::
|
||||
"./node_modules/foo2/index.d.ts"
|
||||
]
|
||||
},
|
||||
"exportedModulesMap": {},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"./index.mts",
|
||||
[
|
||||
{
|
||||
"file": "./index.mts",
|
||||
"start": 104,
|
||||
"length": 6,
|
||||
"code": 7016,
|
||||
"category": 1,
|
||||
"messageText": {
|
||||
"messageText": "Could not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.",
|
||||
"category": 1,
|
||||
"code": 7016,
|
||||
"next": [
|
||||
{
|
||||
"info": {
|
||||
"moduleReference": "bar2",
|
||||
"mode": 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"./node_modules/@types/bar/index.d.ts",
|
||||
"./node_modules/foo/index.d.ts",
|
||||
"./node_modules/foo2/index.d.ts",
|
||||
"../../../../lib/lib.d.ts"
|
||||
]
|
||||
"exportedModulesMap": {}
|
||||
},
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1630
|
||||
"size": 1262
|
||||
}
|
||||
|
||||
|
||||
@@ -2451,20 +2269,10 @@ File '/home/src/projects/project/node_modules/foo/package.json' exists according
|
||||
File '/home/src/projects/project/node_modules/@types/bar/package.json' exists according to earlier cached lookups.
|
||||
File '/lib/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m3[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo2' library may need to update its package.json or typings.
|
||||
|
||||
[7m3[0m import { foo2 } from "foo2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m4[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar2' library may need to update its package.json or typings.
|
||||
|
||||
[7m4[0m import { bar2 } from "bar2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
Found 2 errors in the same file, starting at: home/src/projects/project/index.mts[90m:3[0m
|
||||
Found 1 error.
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
Program root files: ["/home/src/projects/project/index.mts"]
|
||||
@@ -2476,8 +2284,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/home/src/projects/project/index.mts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/home/src/projects/project/index.mts (computed .d.ts)
|
||||
@@ -2485,7 +2292,7 @@ Shape signatures in builder refreshed for::
|
||||
|
||||
//// [/home/src/projects/project/index.mjs] file written with same contents
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo]
|
||||
{"program":{"fileNames":["../../../../lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./index.mts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[4,[{"file":"./index.mts","start":75,"length":6,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"foo2","mode":99}}]}},{"file":"./index.mts","start":104,"length":6,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"bar2","mode":99}}]}}]],3,2,1]},"version":"FakeTSVersion"}
|
||||
{"program":{"fileNames":["../../../../lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./index.mts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[]},"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -2558,60 +2365,10 @@ Shape signatures in builder refreshed for::
|
||||
"./node_modules/@types/bar/index.d.ts"
|
||||
]
|
||||
},
|
||||
"exportedModulesMap": {},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"./index.mts",
|
||||
[
|
||||
{
|
||||
"file": "./index.mts",
|
||||
"start": 75,
|
||||
"length": 6,
|
||||
"code": 7016,
|
||||
"category": 1,
|
||||
"messageText": {
|
||||
"messageText": "Could not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.",
|
||||
"category": 1,
|
||||
"code": 7016,
|
||||
"next": [
|
||||
{
|
||||
"info": {
|
||||
"moduleReference": "foo2",
|
||||
"mode": 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "./index.mts",
|
||||
"start": 104,
|
||||
"length": 6,
|
||||
"code": 7016,
|
||||
"category": 1,
|
||||
"messageText": {
|
||||
"messageText": "Could not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.",
|
||||
"category": 1,
|
||||
"code": 7016,
|
||||
"next": [
|
||||
{
|
||||
"info": {
|
||||
"moduleReference": "bar2",
|
||||
"mode": 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"./node_modules/@types/bar/index.d.ts",
|
||||
"./node_modules/foo/index.d.ts",
|
||||
"../../../../lib/lib.d.ts"
|
||||
]
|
||||
"exportedModulesMap": {}
|
||||
},
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1836
|
||||
"size": 1148
|
||||
}
|
||||
|
||||
|
||||
@@ -2804,20 +2561,10 @@ File '/home/src/projects/project/node_modules/foo/package.json' exists according
|
||||
File '/home/src/projects/project/node_modules/@types/bar/package.json' exists according to earlier cached lookups.
|
||||
File '/lib/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m3[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo2' library may need to update its package.json or typings.
|
||||
|
||||
[7m3[0m import { foo2 } from "foo2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m4[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/bar2` if it exists or add a new declaration (.d.ts) file containing `declare module 'bar2';`
|
||||
|
||||
[7m4[0m import { bar2 } from "bar2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
Found 2 errors in the same file, starting at: home/src/projects/project/index.mts[90m:3[0m
|
||||
Found 1 error.
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
Program root files: ["/home/src/projects/project/index.mts"]
|
||||
@@ -2829,7 +2576,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -3037,20 +2784,10 @@ File '/home/src/projects/project/node_modules/foo/package.json' exists according
|
||||
File '/home/src/projects/project/node_modules/@types/bar/package.json' exists according to earlier cached lookups.
|
||||
File '/lib/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m3[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/foo2` if it exists or add a new declaration (.d.ts) file containing `declare module 'foo2';`
|
||||
|
||||
[7m3[0m import { foo2 } from "foo2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m4[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/bar2` if it exists or add a new declaration (.d.ts) file containing `declare module 'bar2';`
|
||||
|
||||
[7m4[0m import { bar2 } from "bar2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
Found 2 errors in the same file, starting at: home/src/projects/project/index.mts[90m:3[0m
|
||||
Found 1 error.
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
Program root files: ["/home/src/projects/project/index.mts"]
|
||||
@@ -3062,7 +2799,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -3259,20 +2996,10 @@ File '/home/src/projects/project/node_modules/foo/package.json' exists according
|
||||
File '/home/src/projects/project/node_modules/@types/bar/package.json' exists according to earlier cached lookups.
|
||||
File '/lib/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m3[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/foo2` if it exists or add a new declaration (.d.ts) file containing `declare module 'foo2';`
|
||||
|
||||
[7m3[0m import { foo2 } from "foo2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m4[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar2' library may need to update its package.json or typings.
|
||||
|
||||
[7m4[0m import { bar2 } from "bar2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
Found 2 errors in the same file, starting at: home/src/projects/project/index.mts[90m:3[0m
|
||||
Found 1 error.
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
Program root files: ["/home/src/projects/project/index.mts"]
|
||||
@@ -3284,7 +3011,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -3468,20 +3195,10 @@ File '/home/src/projects/project/node_modules/foo/package.json' exists according
|
||||
File '/home/src/projects/project/node_modules/@types/bar/package.json' exists according to earlier cached lookups.
|
||||
File '/lib/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m3[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo2' library may need to update its package.json or typings.
|
||||
|
||||
[7m3[0m import { foo2 } from "foo2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mhome/src/projects/project/index.mts[0m:[93m4[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar2' library may need to update its package.json or typings.
|
||||
|
||||
[7m4[0m import { bar2 } from "bar2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
|
||||
Found 2 errors in the same file, starting at: home/src/projects/project/index.mts[90m:3[0m
|
||||
Found 1 error.
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
Program root files: ["/home/src/projects/project/index.mts"]
|
||||
@@ -3493,7 +3210,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
|
||||
+4
-5
@@ -83,6 +83,8 @@ Resolving real path for '/Users/name/projects/web/node_modules/@types/yargs/inde
|
||||
File '/a/lib/package.json' does not exist.
|
||||
File '/a/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
|
||||
../../../../a/lib/lib.d.ts
|
||||
Default library for target 'es5'
|
||||
node_modules/@types/yargs/index.d.ts
|
||||
@@ -92,7 +94,7 @@ node_modules/@types/yargs/index.d.ts
|
||||
src/bin.ts
|
||||
Matched by default include pattern '**/*'
|
||||
File is CommonJS module because 'package.json' was not found
|
||||
[[90m12:00:38 AM[0m] Found 0 errors. Watching for file changes.
|
||||
[[90m12:00:38 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -104,10 +106,7 @@ Program files::
|
||||
/Users/name/projects/web/node_modules/@types/yargs/index.d.ts
|
||||
/Users/name/projects/web/src/bin.ts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/a/lib/lib.d.ts
|
||||
/Users/name/projects/web/node_modules/@types/yargs/index.d.ts
|
||||
/Users/name/projects/web/src/bin.ts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/a/lib/lib.d.ts (used version)
|
||||
|
||||
@@ -54,7 +54,9 @@ File '/a/package.json' does not exist.
|
||||
File '/package.json' does not exist.
|
||||
[91merror[0m[90m TS2209: [0mThe project root is ambiguous, but is required to resolve export map entry '.' in file '/user/username/projects/myproject/package.json'. Supply the `rootDir` compiler option to disambiguate.
|
||||
|
||||
[[90m12:00:40 AM[0m] Found 1 error. Watching for file changes.
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
|
||||
[[90m12:00:40 AM[0m] Found 2 errors. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -159,7 +161,9 @@ File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[91merror[0m[90m TS2209: [0mThe project root is ambiguous, but is required to resolve export map entry '.' in file '/user/username/projects/myproject/package.json'. Supply the `rootDir` compiler option to disambiguate.
|
||||
|
||||
[[90m12:00:50 AM[0m] Found 1 error. Watching for file changes.
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
||||
|
||||
[[90m12:00:50 AM[0m] Found 2 errors. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
|
||||
+4
-16
@@ -131,10 +131,7 @@ File '/user/username/projects/myproject/node_modules/pkg/package.json' exists ac
|
||||
File '/a/lib/package.json' does not exist.
|
||||
File '/a/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mindex.ts[0m:[93m2[0m:[93m39[0m - [91merror[0m[90m TS2307: [0mCannot find module 'pkg1' or its corresponding type declarations.
|
||||
|
||||
[7m2[0m import type { RequireInterface } from "pkg1" assert { "resolution-mode": "require" };
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[[90m12:00:44 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
@@ -149,11 +146,7 @@ Program files::
|
||||
/user/username/projects/myproject/node_modules/pkg/import.d.ts
|
||||
/user/username/projects/myproject/index.ts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/a/lib/lib.d.ts
|
||||
/user/username/projects/myproject/a.ts
|
||||
/user/username/projects/myproject/node_modules/pkg/import.d.ts
|
||||
/user/username/projects/myproject/index.ts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/a/lib/lib.d.ts (used version)
|
||||
@@ -282,10 +275,7 @@ Reusing resolution of module 'pkg1' from '/user/username/projects/myproject/inde
|
||||
File '/a/lib/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mindex.ts[0m:[93m2[0m:[93m39[0m - [91merror[0m[90m TS2307: [0mCannot find module 'pkg1' or its corresponding type declarations.
|
||||
|
||||
[7m2[0m import type { RequireInterface } from "pkg1" assert { "resolution-mode": "require" };
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[[90m12:00:54 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
@@ -300,9 +290,7 @@ Program files::
|
||||
/user/username/projects/myproject/a.ts
|
||||
/user/username/projects/myproject/index.ts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/user/username/projects/myproject/a.ts
|
||||
/user/username/projects/myproject/index.ts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/user/username/projects/myproject/a.ts (computed .d.ts)
|
||||
|
||||
@@ -343,19 +343,9 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/index
|
||||
DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.tsbuildinfo :: WatchInfo: /home/src/projects/project 0 undefined Failed Lookup Locations
|
||||
Scheduling invalidateFailedLookup, Cancelled earlier one
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.tsbuildinfo :: WatchInfo: /home/src/projects/project 0 undefined Failed Lookup Locations
|
||||
[96mindex.mts[0m:[93m1[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo' library may need to update its package.json or typings.
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[7m1[0m import { foo } from "foo";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[96mindex.mts[0m:[93m2[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar' library may need to update its package.json or typings.
|
||||
|
||||
[7m2[0m import { bar } from "bar";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[[90m12:01:18 AM[0m] Found 2 errors. Watching for file changes.
|
||||
[[90m12:01:18 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt :: WatchInfo: /home/src/projects/project 0 undefined Failed Lookup Locations
|
||||
Scheduling invalidateFailedLookup, Cancelled earlier one
|
||||
@@ -371,11 +361,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/a/lib/lib.d.ts
|
||||
/home/src/projects/project/node_modules/foo2/index.d.ts
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/a/lib/lib.d.ts (used version)
|
||||
@@ -427,7 +413,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||
|
||||
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo]
|
||||
{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./index.mts","start":20,"length":5,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"foo","mode":99}}]}},{"file":"./index.mts","start":47,"length":5,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"bar","mode":99}}]}}]],3,2]},"version":"FakeTSVersion"}
|
||||
{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]]},"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -504,60 +490,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||
"./node_modules/foo2/index.d.ts",
|
||||
"./node_modules/@types/bar2/index.d.ts"
|
||||
]
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
"../../../../a/lib/lib.d.ts",
|
||||
[
|
||||
"./index.mts",
|
||||
[
|
||||
{
|
||||
"file": "./index.mts",
|
||||
"start": 20,
|
||||
"length": 5,
|
||||
"code": 7016,
|
||||
"category": 1,
|
||||
"messageText": {
|
||||
"messageText": "Could not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.",
|
||||
"category": 1,
|
||||
"code": 7016,
|
||||
"next": [
|
||||
{
|
||||
"info": {
|
||||
"moduleReference": "foo",
|
||||
"mode": 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "./index.mts",
|
||||
"start": 47,
|
||||
"length": 5,
|
||||
"code": 7016,
|
||||
"category": 1,
|
||||
"messageText": {
|
||||
"messageText": "Could not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.",
|
||||
"category": 1,
|
||||
"code": 7016,
|
||||
"next": [
|
||||
{
|
||||
"info": {
|
||||
"moduleReference": "bar",
|
||||
"mode": 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"./node_modules/@types/bar2/index.d.ts",
|
||||
"./node_modules/foo2/index.d.ts"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1721
|
||||
"size": 1040
|
||||
}
|
||||
|
||||
|
||||
@@ -677,19 +613,9 @@ File '/home/src/projects/project/node_modules/@types/bar2/package.json' exists a
|
||||
File '/a/lib/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mindex.mts[0m:[93m1[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo' library may need to update its package.json or typings.
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[7m1[0m import { foo } from "foo";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[96mindex.mts[0m:[93m2[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/bar` if it exists or add a new declaration (.d.ts) file containing `declare module 'bar';`
|
||||
|
||||
[7m2[0m import { bar } from "bar";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[[90m12:01:23 AM[0m] Found 2 errors. Watching for file changes.
|
||||
[[90m12:01:23 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -702,7 +628,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -806,19 +732,9 @@ File '/home/src/projects/project/node_modules/@types/bar2/package.json' exists a
|
||||
File '/a/lib/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mindex.mts[0m:[93m1[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/foo` if it exists or add a new declaration (.d.ts) file containing `declare module 'foo';`
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[7m1[0m import { foo } from "foo";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[96mindex.mts[0m:[93m2[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/bar` if it exists or add a new declaration (.d.ts) file containing `declare module 'bar';`
|
||||
|
||||
[7m2[0m import { bar } from "bar";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[[90m12:01:27 AM[0m] Found 2 errors. Watching for file changes.
|
||||
[[90m12:01:27 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -831,7 +747,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -943,19 +859,9 @@ File '/home/src/projects/project/node_modules/@types/bar2/package.json' exists a
|
||||
File '/a/lib/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mindex.mts[0m:[93m1[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/foo` if it exists or add a new declaration (.d.ts) file containing `declare module 'foo';`
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[7m1[0m import { foo } from "foo";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[96mindex.mts[0m:[93m2[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar' library may need to update its package.json or typings.
|
||||
|
||||
[7m2[0m import { bar } from "bar";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[[90m12:01:31 AM[0m] Found 2 errors. Watching for file changes.
|
||||
[[90m12:01:31 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -968,7 +874,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -1061,19 +967,9 @@ File '/home/src/projects/project/node_modules/@types/bar2/package.json' exists a
|
||||
File '/a/lib/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mindex.mts[0m:[93m1[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo' library may need to update its package.json or typings.
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[7m1[0m import { foo } from "foo";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[96mindex.mts[0m:[93m2[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar'. '/home/src/projects/project/node_modules/bar/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar' library may need to update its package.json or typings.
|
||||
|
||||
[7m2[0m import { bar } from "bar";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
|
||||
[[90m12:01:36 AM[0m] Found 2 errors. Watching for file changes.
|
||||
[[90m12:01:36 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -1086,7 +982,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -1172,11 +1068,7 @@ File '/home/src/projects/project/node_modules/@types/bar2/package.json' exists a
|
||||
File '/a/lib/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mindex.mts[0m:[93m1[0m:[93m21[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo' library may need to update its package.json or typings.
|
||||
|
||||
[7m1[0m import { foo } from "foo";
|
||||
[7m [0m [91m ~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[[90m12:01:47 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
@@ -1192,9 +1084,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts (used version)
|
||||
@@ -1242,7 +1132,7 @@ exitCode:: ExitStatus.undefined
|
||||
|
||||
//// [/home/src/projects/project/index.mjs] file written with same contents
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo]
|
||||
{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"fileIdsList":[[2,3,4]],"referencedMap":[[5,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[5,[{"file":"./index.mts","start":20,"length":5,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"foo","mode":99}}]}}]],2,4,3]},"version":"FakeTSVersion"}
|
||||
{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"fileIdsList":[[2,3,4]],"referencedMap":[[5,1]],"exportedModulesMap":[]},"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -1327,41 +1217,10 @@ exitCode:: ExitStatus.undefined
|
||||
"./node_modules/@types/bar2/index.d.ts"
|
||||
]
|
||||
},
|
||||
"exportedModulesMap": {},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
"../../../../a/lib/lib.d.ts",
|
||||
[
|
||||
"./index.mts",
|
||||
[
|
||||
{
|
||||
"file": "./index.mts",
|
||||
"start": 20,
|
||||
"length": 5,
|
||||
"code": 7016,
|
||||
"category": 1,
|
||||
"messageText": {
|
||||
"messageText": "Could not find a declaration file for module 'foo'. '/home/src/projects/project/node_modules/foo/index.mjs' implicitly has an 'any' type.",
|
||||
"category": 1,
|
||||
"code": 7016,
|
||||
"next": [
|
||||
{
|
||||
"info": {
|
||||
"moduleReference": "foo",
|
||||
"mode": 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"./node_modules/@types/bar/index.d.ts",
|
||||
"./node_modules/@types/bar2/index.d.ts",
|
||||
"./node_modules/foo2/index.d.ts"
|
||||
]
|
||||
"exportedModulesMap": {}
|
||||
},
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1557
|
||||
"size": 1193
|
||||
}
|
||||
|
||||
|
||||
@@ -1440,7 +1299,9 @@ File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations
|
||||
Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations
|
||||
[[90m12:02:02 AM[0m] Found 0 errors. Watching for file changes.
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[[90m12:02:02 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -1455,9 +1316,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/home/src/projects/project/node_modules/foo/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/home/src/projects/project/node_modules/foo/index.d.ts (used version)
|
||||
@@ -1507,7 +1366,7 @@ exitCode:: ExitStatus.undefined
|
||||
|
||||
//// [/home/src/projects/project/index.mjs] file written with same contents
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo]
|
||||
{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[6],"options":{"strict":true},"fileIdsList":[[2,3,4,5]],"referencedMap":[[6,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,6,3,5,2,4]},"version":"FakeTSVersion"}
|
||||
{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[6],"options":{"strict":true},"fileIdsList":[[2,3,4,5]],"referencedMap":[[6,1]],"exportedModulesMap":[]},"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -1604,18 +1463,10 @@ exitCode:: ExitStatus.undefined
|
||||
"./node_modules/@types/bar2/index.d.ts"
|
||||
]
|
||||
},
|
||||
"exportedModulesMap": {},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
"../../../../a/lib/lib.d.ts",
|
||||
"./index.mts",
|
||||
"./node_modules/@types/bar/index.d.ts",
|
||||
"./node_modules/@types/bar2/index.d.ts",
|
||||
"./node_modules/foo/index.d.ts",
|
||||
"./node_modules/foo2/index.d.ts"
|
||||
]
|
||||
"exportedModulesMap": {}
|
||||
},
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1348
|
||||
"size": 1305
|
||||
}
|
||||
|
||||
|
||||
@@ -1740,11 +1591,7 @@ File '/package.json' does not exist according to earlier cached lookups.
|
||||
FileWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types/bar2/index.d.ts 250 undefined Source file
|
||||
DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations
|
||||
Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations
|
||||
[96mindex.mts[0m:[93m4[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar2' library may need to update its package.json or typings.
|
||||
|
||||
[7m4[0m import { bar2 } from "bar2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[[90m12:02:16 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
@@ -1760,8 +1607,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/foo2/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/home/src/projects/project/index.mts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/home/src/projects/project/index.mts (computed .d.ts)
|
||||
@@ -1812,7 +1658,7 @@ exitCode:: ExitStatus.undefined
|
||||
|
||||
//// [/home/src/projects/project/index.mjs] file written with same contents
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo]
|
||||
{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./index.mts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"fileIdsList":[[2,3,4]],"referencedMap":[[5,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[5,[{"file":"./index.mts","start":104,"length":6,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"bar2","mode":99}}]}}]],3,2,4]},"version":"FakeTSVersion"}
|
||||
{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./index.mts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"fileIdsList":[[2,3,4]],"referencedMap":[[5,1]],"exportedModulesMap":[]},"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -1897,41 +1743,10 @@ exitCode:: ExitStatus.undefined
|
||||
"./node_modules/foo2/index.d.ts"
|
||||
]
|
||||
},
|
||||
"exportedModulesMap": {},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
"../../../../a/lib/lib.d.ts",
|
||||
[
|
||||
"./index.mts",
|
||||
[
|
||||
{
|
||||
"file": "./index.mts",
|
||||
"start": 104,
|
||||
"length": 6,
|
||||
"code": 7016,
|
||||
"category": 1,
|
||||
"messageText": {
|
||||
"messageText": "Could not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.",
|
||||
"category": 1,
|
||||
"code": 7016,
|
||||
"next": [
|
||||
{
|
||||
"info": {
|
||||
"moduleReference": "bar2",
|
||||
"mode": 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"./node_modules/@types/bar/index.d.ts",
|
||||
"./node_modules/foo/index.d.ts",
|
||||
"./node_modules/foo2/index.d.ts"
|
||||
]
|
||||
"exportedModulesMap": {}
|
||||
},
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1552
|
||||
"size": 1184
|
||||
}
|
||||
|
||||
|
||||
@@ -2034,19 +1849,9 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
FileWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/foo2/index.d.ts 250 undefined Source file
|
||||
[96mindex.mts[0m:[93m3[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo2' library may need to update its package.json or typings.
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[7m3[0m import { foo2 } from "foo2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mindex.mts[0m:[93m4[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar2' library may need to update its package.json or typings.
|
||||
|
||||
[7m4[0m import { bar2 } from "bar2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[[90m12:02:31 AM[0m] Found 2 errors. Watching for file changes.
|
||||
[[90m12:02:31 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -2059,8 +1864,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/home/src/projects/project/index.mts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/home/src/projects/project/index.mts (computed .d.ts)
|
||||
@@ -2109,7 +1913,7 @@ exitCode:: ExitStatus.undefined
|
||||
|
||||
//// [/home/src/projects/project/index.mjs] file written with same contents
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo]
|
||||
{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./index.mts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./index.mts","start":75,"length":6,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"foo2","mode":99}}]}},{"file":"./index.mts","start":104,"length":6,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"bar2","mode":99}}]}}]],3,2]},"version":"FakeTSVersion"}
|
||||
{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./index.mts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[]},"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -2182,60 +1986,10 @@ exitCode:: ExitStatus.undefined
|
||||
"./node_modules/@types/bar/index.d.ts"
|
||||
]
|
||||
},
|
||||
"exportedModulesMap": {},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
"../../../../a/lib/lib.d.ts",
|
||||
[
|
||||
"./index.mts",
|
||||
[
|
||||
{
|
||||
"file": "./index.mts",
|
||||
"start": 75,
|
||||
"length": 6,
|
||||
"code": 7016,
|
||||
"category": 1,
|
||||
"messageText": {
|
||||
"messageText": "Could not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.",
|
||||
"category": 1,
|
||||
"code": 7016,
|
||||
"next": [
|
||||
{
|
||||
"info": {
|
||||
"moduleReference": "foo2",
|
||||
"mode": 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "./index.mts",
|
||||
"start": 104,
|
||||
"length": 6,
|
||||
"code": 7016,
|
||||
"category": 1,
|
||||
"messageText": {
|
||||
"messageText": "Could not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.",
|
||||
"category": 1,
|
||||
"code": 7016,
|
||||
"next": [
|
||||
{
|
||||
"info": {
|
||||
"moduleReference": "bar2",
|
||||
"mode": 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"./node_modules/@types/bar/index.d.ts",
|
||||
"./node_modules/foo/index.d.ts"
|
||||
]
|
||||
"exportedModulesMap": {}
|
||||
},
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1758
|
||||
"size": 1070
|
||||
}
|
||||
|
||||
|
||||
@@ -2355,19 +2109,9 @@ File '/home/src/projects/project/node_modules/@types/bar/package.json' exists ac
|
||||
File '/a/lib/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mindex.mts[0m:[93m3[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo2' library may need to update its package.json or typings.
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[7m3[0m import { foo2 } from "foo2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mindex.mts[0m:[93m4[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/bar2` if it exists or add a new declaration (.d.ts) file containing `declare module 'bar2';`
|
||||
|
||||
[7m4[0m import { bar2 } from "bar2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[[90m12:02:37 AM[0m] Found 2 errors. Watching for file changes.
|
||||
[[90m12:02:37 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -2380,7 +2124,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -2484,19 +2228,9 @@ File '/home/src/projects/project/node_modules/@types/bar/package.json' exists ac
|
||||
File '/a/lib/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mindex.mts[0m:[93m3[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/foo2` if it exists or add a new declaration (.d.ts) file containing `declare module 'foo2';`
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[7m3[0m import { foo2 } from "foo2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mindex.mts[0m:[93m4[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/bar2` if it exists or add a new declaration (.d.ts) file containing `declare module 'bar2';`
|
||||
|
||||
[7m4[0m import { bar2 } from "bar2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[[90m12:02:41 AM[0m] Found 2 errors. Watching for file changes.
|
||||
[[90m12:02:41 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -2509,7 +2243,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -2621,19 +2355,9 @@ File '/home/src/projects/project/node_modules/@types/bar/package.json' exists ac
|
||||
File '/a/lib/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mindex.mts[0m:[93m3[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/foo2` if it exists or add a new declaration (.d.ts) file containing `declare module 'foo2';`
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[7m3[0m import { foo2 } from "foo2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mindex.mts[0m:[93m4[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar2' library may need to update its package.json or typings.
|
||||
|
||||
[7m4[0m import { bar2 } from "bar2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[[90m12:02:45 AM[0m] Found 2 errors. Watching for file changes.
|
||||
[[90m12:02:45 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -2646,7 +2370,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
@@ -2739,19 +2463,9 @@ File '/home/src/projects/project/node_modules/@types/bar/package.json' exists ac
|
||||
File '/a/lib/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mindex.mts[0m:[93m3[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'foo2'. '/home/src/projects/project/node_modules/foo2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/foo2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'foo2' library may need to update its package.json or typings.
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[7m3[0m import { foo2 } from "foo2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mindex.mts[0m:[93m4[0m:[93m22[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bar2'. '/home/src/projects/project/node_modules/bar2/index.mjs' implicitly has an 'any' type.
|
||||
There are types at '/home/src/projects/project/node_modules/@types/bar2/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/bar2' library may need to update its package.json or typings.
|
||||
|
||||
[7m4[0m import { bar2 } from "bar2";
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[[90m12:02:50 AM[0m] Found 2 errors. Watching for file changes.
|
||||
[[90m12:02:50 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -2764,7 +2478,7 @@ Program files::
|
||||
/home/src/projects/project/node_modules/@types/bar/index.d.ts
|
||||
/home/src/projects/project/index.mts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
|
||||
+6
-28
@@ -131,17 +131,9 @@ File '/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/lib/package.json' does not exist.
|
||||
File '/a/package.json' does not exist.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mindex.ts[0m:[93m2[0m:[93m23[0m - [91merror[0m[90m TS2688: [0mCannot find type definition file for 'pkg1'.
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[7m2[0m /// <reference types="pkg1" resolution-mode="require"/>
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96mindex.ts[0m:[93m3[0m:[93m41[0m - [91merror[0m[90m TS2304: [0mCannot find name 'RequireInterface'.
|
||||
|
||||
[7m3[0m export interface LocalInterface extends RequireInterface {}
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~[0m
|
||||
|
||||
[[90m12:00:50 AM[0m] Found 2 errors. Watching for file changes.
|
||||
[[90m12:00:50 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -155,12 +147,7 @@ Program files::
|
||||
/user/username/projects/myproject/index.ts
|
||||
/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/a/lib/lib.d.ts
|
||||
/user/username/projects/myproject/a.ts
|
||||
/user/username/projects/myproject/node_modules/pkg/import.d.ts
|
||||
/user/username/projects/myproject/index.ts
|
||||
/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/a/lib/lib.d.ts (used version)
|
||||
@@ -309,17 +296,9 @@ File '/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/lib/package.json' does not exist according to earlier cached lookups.
|
||||
File '/a/package.json' does not exist according to earlier cached lookups.
|
||||
File '/package.json' does not exist according to earlier cached lookups.
|
||||
[96mindex.ts[0m:[93m2[0m:[93m23[0m - [91merror[0m[90m TS2688: [0mCannot find type definition file for 'pkg1'.
|
||||
[91merror[0m[90m TS5110: [0mOption 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
||||
|
||||
[7m2[0m /// <reference types="pkg1" resolution-mode="require"/>
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96mindex.ts[0m:[93m3[0m:[93m41[0m - [91merror[0m[90m TS2304: [0mCannot find name 'RequireInterface'.
|
||||
|
||||
[7m3[0m export interface LocalInterface extends RequireInterface {}
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~[0m
|
||||
|
||||
[[90m12:00:57 AM[0m] Found 2 errors. Watching for file changes.
|
||||
[[90m12:00:57 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
@@ -333,8 +312,7 @@ Program files::
|
||||
/user/username/projects/myproject/index.ts
|
||||
/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/user/username/projects/myproject/a.ts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/user/username/projects/myproject/a.ts (computed .d.ts)
|
||||
|
||||
@@ -449,7 +449,13 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"body": {
|
||||
"triggerFile": "/home/src/projects/project/index.mts",
|
||||
"configFile": "/home/src/projects/project/tsconfig.json",
|
||||
"diagnostics": []
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.",
|
||||
"code": 5110,
|
||||
"category": "error"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured)
|
||||
|
||||
Reference in New Issue
Block a user