mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Deprecate baseUrl (#62509)
This commit is contained in:
@@ -4721,6 +4721,10 @@
|
||||
"category": "Error",
|
||||
"code": 5110
|
||||
},
|
||||
"Visit https://aka.ms/ts6 for migration information.": {
|
||||
"category": "Message",
|
||||
"code": 5111
|
||||
},
|
||||
|
||||
"Generates a sourcemap for each corresponding '.d.ts' file.": {
|
||||
"category": "Message",
|
||||
|
||||
+23
-12
@@ -4408,8 +4408,8 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro
|
||||
function checkDeprecations(
|
||||
deprecatedIn: string,
|
||||
removedIn: string,
|
||||
createDiagnostic: (name: string, value: string | undefined, useInstead: string | undefined, message: DiagnosticMessage, ...args: DiagnosticArguments) => void,
|
||||
fn: (createDeprecatedDiagnostic: (name: string, value?: string, useInstead?: string) => void) => void,
|
||||
createDiagnostic: (name: string, value: string | undefined, useInstead: string | undefined, related: DiagnosticMessage | undefined, message: DiagnosticMessage, ...args: DiagnosticArguments) => void,
|
||||
fn: (createDeprecatedDiagnostic: (name: string, value?: string, useInstead?: string, related?: DiagnosticMessage) => void) => void,
|
||||
) {
|
||||
const deprecatedInVersion = new Version(deprecatedIn);
|
||||
const removedInVersion = new Version(removedIn);
|
||||
@@ -4420,21 +4420,21 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro
|
||||
const canBeSilenced = !mustBeRemoved && ignoreDeprecationsVersion.compareTo(deprecatedInVersion) === Comparison.LessThan;
|
||||
|
||||
if (mustBeRemoved || canBeSilenced) {
|
||||
fn((name, value, useInstead) => {
|
||||
fn((name, value, useInstead, related) => {
|
||||
if (mustBeRemoved) {
|
||||
if (value === undefined) {
|
||||
createDiagnostic(name, value, useInstead, Diagnostics.Option_0_has_been_removed_Please_remove_it_from_your_configuration, name);
|
||||
createDiagnostic(name, value, useInstead, related, Diagnostics.Option_0_has_been_removed_Please_remove_it_from_your_configuration, name);
|
||||
}
|
||||
else {
|
||||
createDiagnostic(name, value, useInstead, Diagnostics.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration, name, value);
|
||||
createDiagnostic(name, value, useInstead, related, Diagnostics.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration, name, value);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (value === undefined) {
|
||||
createDiagnostic(name, value, useInstead, Diagnostics.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error, name, removedIn, deprecatedIn);
|
||||
createDiagnostic(name, value, useInstead, related, Diagnostics.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error, name, removedIn, deprecatedIn);
|
||||
}
|
||||
else {
|
||||
createDiagnostic(name, value, useInstead, Diagnostics.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error, name, value, removedIn, deprecatedIn);
|
||||
createDiagnostic(name, value, useInstead, related, Diagnostics.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error, name, value, removedIn, deprecatedIn);
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -4442,14 +4442,22 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro
|
||||
}
|
||||
|
||||
function verifyDeprecatedCompilerOptions() {
|
||||
function createDiagnostic(name: string, value: string | undefined, useInstead: string | undefined, message: DiagnosticMessage, ...args: DiagnosticArguments) {
|
||||
function createDiagnostic(name: string, value: string | undefined, useInstead: string | undefined, related: DiagnosticMessage | undefined, message: DiagnosticMessage, ...args: DiagnosticArguments) {
|
||||
if (useInstead) {
|
||||
const details = chainDiagnosticMessages(/*details*/ undefined, Diagnostics.Use_0_instead, useInstead);
|
||||
let details = chainDiagnosticMessages(/*details*/ undefined, Diagnostics.Use_0_instead, useInstead);
|
||||
if (related) {
|
||||
details = chainDiagnosticMessages(details, related);
|
||||
}
|
||||
const chain = chainDiagnosticMessages(details, message, ...args);
|
||||
createDiagnosticForOption(/*onKey*/ !value, name, /*option2*/ undefined, chain);
|
||||
}
|
||||
else {
|
||||
createDiagnosticForOption(/*onKey*/ !value, name, /*option2*/ undefined, message, ...args);
|
||||
let details: DiagnosticMessageChain | undefined;
|
||||
if (related) {
|
||||
details = chainDiagnosticMessages(/*details*/ undefined, related);
|
||||
}
|
||||
const chain = chainDiagnosticMessages(details, message, ...args);
|
||||
createDiagnosticForOption(/*onKey*/ !value, name, /*option2*/ undefined, chain);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4488,13 +4496,16 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro
|
||||
|
||||
checkDeprecations("6.0", "7.0", createDiagnostic, createDeprecatedDiagnostic => {
|
||||
if (options.moduleResolution === ModuleResolutionKind.Node10) {
|
||||
createDeprecatedDiagnostic("moduleResolution", "node10");
|
||||
createDeprecatedDiagnostic("moduleResolution", "node10", /*useInstead*/ undefined, Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information);
|
||||
}
|
||||
if (options.baseUrl !== undefined) {
|
||||
createDeprecatedDiagnostic("baseUrl", /*value*/ undefined, /*useInstead*/ undefined, Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function verifyDeprecatedProjectReference(ref: ProjectReference, parentFile: JsonSourceFile | undefined, index: number) {
|
||||
function createDiagnostic(_name: string, _value: string | undefined, _useInstead: string | undefined, message: DiagnosticMessage, ...args: DiagnosticArguments) {
|
||||
function createDiagnostic(_name: string, _value: string | undefined, _useInstead: string | undefined, _related: DiagnosticMessage | undefined, message: DiagnosticMessage, ...args: DiagnosticArguments) {
|
||||
createDiagnosticForReference(parentFile, index, message, ...args);
|
||||
}
|
||||
|
||||
|
||||
@@ -7400,6 +7400,7 @@ export interface CompilerOptions {
|
||||
allowUnreachableCode?: boolean;
|
||||
allowUnusedLabels?: boolean;
|
||||
alwaysStrict?: boolean; // Always combine with strict property
|
||||
/** @deprecated */
|
||||
baseUrl?: string;
|
||||
/**
|
||||
* An error if set - this should only go through the -b pipeline and not actually be observed
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
==== /proj/defs/cc.ts (0 errors) ====
|
||||
export const enum CharCode {
|
||||
A,
|
||||
B
|
||||
}
|
||||
==== /proj/component/file.ts (0 errors) ====
|
||||
import { CharCode } from 'defs/cc';
|
||||
export class User {
|
||||
method(input: number) {
|
||||
if (CharCode.A === input) {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7016,6 +7016,7 @@ declare namespace ts {
|
||||
allowUnreachableCode?: boolean;
|
||||
allowUnusedLabels?: boolean;
|
||||
alwaysStrict?: boolean;
|
||||
/** @deprecated */
|
||||
baseUrl?: string;
|
||||
/** @deprecated */
|
||||
charset?: string;
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
/tsconfig.json(6,5): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "nodenext",
|
||||
"declaration": true,
|
||||
"outDir": "temp",
|
||||
"baseUrl": "."
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
}
|
||||
}
|
||||
|
||||
==== /packages/compiler-core/src/index.ts (0 errors) ====
|
||||
import { PluginConfig } from "@babel/parser";
|
||||
|
||||
==== /packages/compiler-sfc/src/index.ts (0 errors) ====
|
||||
import { createPlugin } from "@babel/parser";
|
||||
export function resolveParserPlugins() {
|
||||
return [createPlugin()];
|
||||
}
|
||||
|
||||
==== /node_modules/.pnpm/@babel+parser@7.23.6/node_modules/@babel/parser/package.json (0 errors) ====
|
||||
{
|
||||
"name": "@babel/parser",
|
||||
"version": "7.23.6",
|
||||
"main": "./lib/index.js",
|
||||
"types": "./typings/babel-parser.d.ts"
|
||||
}
|
||||
|
||||
==== /node_modules/.pnpm/@babel+parser@7.23.6/node_modules/@babel/parser/typings/babel-parser.d.ts (0 errors) ====
|
||||
export declare function createPlugin(): PluginConfig;
|
||||
export declare class PluginConfig {}
|
||||
|
||||
==== /packages/compiler-core/package.json (0 errors) ====
|
||||
{
|
||||
"name": "@vue/compiler-core",
|
||||
"version": "3.0.0",
|
||||
"main": "./src/index.ts",
|
||||
"dependencies": {
|
||||
"@babel/parser": "^7.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
==== /packages/compiler-sfc/package.json (0 errors) ====
|
||||
{
|
||||
"name": "@vue/compiler-sfc",
|
||||
"version": "3.0.0",
|
||||
"main": "./src/index.ts",
|
||||
"dependencies": {
|
||||
"@babel/parser": "^7.0.0",
|
||||
"@vue/compiler-core": "^3.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
packages/b/tsconfig.json(5,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== packages/b/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"declaration": true,
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"@ts-bug/a": ["../a"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
==== packages/b/src/index.ts (0 errors) ====
|
||||
import { a } from "@ts-bug/a";
|
||||
|
||||
export function b(text: string) {
|
||||
return a(text);
|
||||
}
|
||||
==== packages/a/index.d.ts (0 errors) ====
|
||||
declare module "@ts-bug/a" {
|
||||
export type AText = {
|
||||
value: string;
|
||||
};
|
||||
export function a(text: string): AText;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
packages/lab/tsconfig.json(5,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== packages/lab/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"declaration": true,
|
||||
"baseUrl": "../",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"@ts-bug/core": ["./core/src"],
|
||||
"@ts-bug/core/*": ["./core/src/*"],
|
||||
"@ts-bug/lab": ["./lab/src"],
|
||||
"@ts-bug/lab/*": ["./lab/src/*"],
|
||||
"@ts-bug/styles": ["./styles/src"],
|
||||
"@ts-bug/styles/*": ["./styles/src/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
==== packages/lab/src/index.ts (0 errors) ====
|
||||
import { createSvgIcon } from "@ts-bug/core/utils";
|
||||
export default createSvgIcon("Hello", "ArrowLeft");
|
||||
|
||||
==== packages/core/src/index.d.ts (0 errors) ====
|
||||
export * from "./utils";
|
||||
export { default as SvgIcon } from "./SvgIcon";
|
||||
|
||||
==== packages/core/src/SvgIcon.d.ts (0 errors) ====
|
||||
import { StyledComponentProps } from "@ts-bug/styles";
|
||||
export interface SvgIconProps extends StyledComponentProps<"root"> {
|
||||
children?: string[];
|
||||
}
|
||||
export interface SomeInterface {
|
||||
myProp: string;
|
||||
}
|
||||
declare const SvgIcon: SomeInterface;
|
||||
export default SvgIcon;
|
||||
|
||||
==== packages/core/src/utils.d.ts (0 errors) ====
|
||||
import SvgIcon from "./SvgIcon";
|
||||
export function createSvgIcon(path: string, displayName: string): typeof SvgIcon;
|
||||
|
||||
==== packages/styles/src/index.d.ts (0 errors) ====
|
||||
export interface StyledComponentProps<ClassKey extends string> {
|
||||
classes?: Record<ClassKey, string>;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
==== src/lib/operators/scalar.ts (0 errors) ====
|
||||
export interface Scalar {
|
||||
(): string;
|
||||
value: number;
|
||||
}
|
||||
|
||||
export function scalar(value: string): Scalar {
|
||||
return null as any;
|
||||
}
|
||||
==== src/settings/spacing.ts (0 errors) ====
|
||||
import { scalar } from '../lib/operators/scalar';
|
||||
|
||||
export default {
|
||||
get xs() {
|
||||
return scalar("14px");
|
||||
}
|
||||
};
|
||||
|
||||
@@ -16,6 +16,7 @@ export function scalar(value: string): Scalar {
|
||||
|
||||
return null as any;
|
||||
>null as any : any
|
||||
> : ^^^
|
||||
}
|
||||
=== src/settings/spacing.ts ===
|
||||
import { scalar } from '../lib/operators/scalar';
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
==== src/lib/operators/scalar.ts (0 errors) ====
|
||||
export interface Scalar {
|
||||
(): string;
|
||||
value: number;
|
||||
}
|
||||
|
||||
export function scalar(value: string): Scalar {
|
||||
return null as any;
|
||||
}
|
||||
==== src/settings/spacing.ts (0 errors) ====
|
||||
import { scalar } from '../lib/operators/scalar';
|
||||
|
||||
export default {
|
||||
get xs() {
|
||||
return scalar("14px");
|
||||
}
|
||||
};
|
||||
|
||||
@@ -16,6 +16,7 @@ export function scalar(value: string): Scalar {
|
||||
|
||||
return null as any;
|
||||
>null as any : any
|
||||
> : ^^^
|
||||
}
|
||||
=== src/settings/spacing.ts ===
|
||||
import { scalar } from '../lib/operators/scalar';
|
||||
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
/project/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /project/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"@shared/*": ["../shared/*"]
|
||||
}
|
||||
},
|
||||
//"files": ["src/app.ts"]
|
||||
}
|
||||
==== /project/src/app.ts (0 errors) ====
|
||||
import * as t from "anotherLib"; // Include the lib that recursively includes option as relative module resolution in this directory
|
||||
import { makeSharedOption } from "@shared/lib/app"; // Includes option as module in shared folder but as module in node_modules folder
|
||||
|
||||
==== /shared/node_modules/troublesome-lib/package.json (0 errors) ====
|
||||
{
|
||||
"name": "troublesome-lib",
|
||||
"version": "1.17.1"
|
||||
}
|
||||
==== /shared/node_modules/troublesome-lib/lib/Compactable.d.ts (0 errors) ====
|
||||
import { Option } from './Option';
|
||||
export class Compactable {
|
||||
option: Option;
|
||||
}
|
||||
==== /shared/node_modules/troublesome-lib/lib/Option.d.ts (0 errors) ====
|
||||
export class Option {
|
||||
someProperty: string;
|
||||
}
|
||||
==== /shared/lib/app.d.ts (0 errors) ====
|
||||
import { Option } from "troublesome-lib/lib/Option";
|
||||
export class SharedOption extends Option { }
|
||||
export const makeSharedOption: () => SharedOption;
|
||||
==== /project/node_modules/anotherLib/index.d.ts (0 errors) ====
|
||||
import { Compactable } from "troublesome-lib/lib/Compactable"; // Including this will resolve Option as relative through the imports of compactable
|
||||
==== /project/node_modules/troublesome-lib/package.json (0 errors) ====
|
||||
{
|
||||
"name": "troublesome-lib",
|
||||
"version": "1.17.1"
|
||||
}
|
||||
==== /project/node_modules/troublesome-lib/lib/Compactable.d.ts (0 errors) ====
|
||||
import { Option } from './Option';
|
||||
export class Compactable {
|
||||
option: Option;
|
||||
}
|
||||
==== /project/node_modules/troublesome-lib/lib/Option.d.ts (0 errors) ====
|
||||
export class Option {
|
||||
someProperty: string;
|
||||
}
|
||||
@@ -1,16 +1,23 @@
|
||||
/tsconfig.json(6,3): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
/tsconfig.json(7,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
==== /tsconfig.json (2 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"outDir": "lib",
|
||||
"target": "ES6",
|
||||
"module": "ES6",
|
||||
"baseUrl": "/",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"moduleResolution": "Node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"noImplicitAny": true,
|
||||
"traceResolution": true,
|
||||
"paths": {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
@@ -7,6 +8,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": []
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
@@ -7,6 +8,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
@@ -7,6 +8,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": [".ios"]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
@@ -7,6 +8,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": [""]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
/index.ts(1,21): error TS2307: Cannot find module './foo' or its corresponding type declarations.
|
||||
|
||||
|
||||
@@ -8,6 +9,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": [".ios"]
|
||||
}
|
||||
|
||||
+2
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
@@ -7,6 +8,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": [".ios"]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(6,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
@@ -10,6 +11,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": [".ios"]
|
||||
}
|
||||
|
||||
+2
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(6,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
@@ -10,6 +11,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": [".ios"]
|
||||
}
|
||||
|
||||
+8
-1
@@ -1,7 +1,10 @@
|
||||
/tsconfig.json(6,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
/tsconfig.json(9,3): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
==== /tsconfig.json (2 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
@@ -10,9 +13,13 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": [".ios"],
|
||||
"baseUrl": "/",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"some-library": ["node_modules/some-library/lib"],
|
||||
"some-library/*": ["node_modules/some-library/lib/*"]
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(4,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
@@ -8,6 +9,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": [".ios"]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(6,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
@@ -10,6 +11,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": [".ios"]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(6,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
@@ -10,6 +11,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": [".ios"]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
@@ -7,6 +8,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": ["-ios", "__native", ""]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
@@ -7,6 +8,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": ["-ios", "__native", ""]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
@@ -7,6 +8,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": ["-ios", "__native", ""]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
/index.ts(1,22): error TS2307: Cannot find module './foo' or its corresponding type declarations.
|
||||
|
||||
|
||||
@@ -8,6 +9,7 @@
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"traceResolution": true,
|
||||
"moduleSuffixes": ["-ios", "__native", ""]
|
||||
}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
/index.ts(1,21): error TS2307: Cannot find module 'pkg' or its corresponding type declarations.
|
||||
There are types at '/node_modules/pkg/definitely-not-index.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.
|
||||
|
||||
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
==== /node_modules/pkg/package.json (0 errors) ====
|
||||
{
|
||||
"name": "pkg",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
error TS6504: File '/node_modules/pkg/untyped.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
|
||||
@@ -7,6 +8,7 @@ error TS6504: File '/node_modules/pkg/untyped.js' is a JavaScript file. Did you
|
||||
|
||||
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
!!! error TS6504: File '/node_modules/pkg/untyped.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
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
==== /node_modules/fancy-lib/package.json (0 errors) ====
|
||||
{
|
||||
"name": "fancy-lib",
|
||||
|
||||
+2
@@ -1,10 +1,12 @@
|
||||
error TS5098: Option 'resolvePackageJsonExports' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'.
|
||||
error TS5098: Option 'resolvePackageJsonImports' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'.
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5098: Option 'resolvePackageJsonExports' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'.
|
||||
!!! error TS5098: Option 'resolvePackageJsonImports' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'.
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
==== index.ts (0 errors) ====
|
||||
|
||||
@@ -1,11 +1,16 @@
|
||||
root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
root/tsconfig.json(5,13): error TS5061: Pattern '*1*' can have at most one '*' character.
|
||||
root/tsconfig.json(5,22): error TS5062: Substitution '*2*' in pattern '*1*' can have at most one '*' character.
|
||||
|
||||
|
||||
==== root/tsconfig.json (2 errors) ====
|
||||
==== root/tsconfig.json (3 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./src",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*1*": [ "*2*" ]
|
||||
~~~~~
|
||||
|
||||
@@ -1,11 +1,16 @@
|
||||
root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
root/tsconfig.json(5,13): error TS5061: Pattern '*1*' can have at most one '*' character.
|
||||
root/tsconfig.json(5,22): error TS5062: Substitution '*2*' in pattern '*1*' can have at most one '*' character.
|
||||
|
||||
|
||||
==== root/tsconfig.json (2 errors) ====
|
||||
==== root/tsconfig.json (3 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./src",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*1*": [ "*2*" ]
|
||||
~~~~~
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
==== c:/root/folder1/file1.ts (0 errors) ====
|
||||
import {x} from "folder2/file2"
|
||||
declare function use(a: any): void;
|
||||
use(x.toExponential());
|
||||
|
||||
==== c:/root/folder2/file2.ts (0 errors) ====
|
||||
import {x as a} from "./file3" // found with baseurl
|
||||
import {y as b} from "file4" // found with fallback
|
||||
export var x = a + b;
|
||||
|
||||
==== c:/root/folder2/file3.ts (0 errors) ====
|
||||
export var x = 1;
|
||||
|
||||
==== c:/file4.ts (0 errors) ====
|
||||
export var y = 100;
|
||||
@@ -9,6 +9,7 @@ declare function use(a: any): void;
|
||||
>use : (a: any) => void
|
||||
> : ^ ^^ ^^^^^
|
||||
>a : any
|
||||
> : ^^^
|
||||
|
||||
use(x.toExponential());
|
||||
>use(x.toExponential()) : void
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
==== c:/root/folder1/file1.ts (0 errors) ====
|
||||
import {x} from "folder2/file2"
|
||||
declare function use(a: any): void;
|
||||
use(x.toExponential());
|
||||
|
||||
==== c:/root/folder2/file2.ts (0 errors) ====
|
||||
import {x as a} from "./file3" // found with baseurl
|
||||
import {y as b} from "file4" // found with fallback
|
||||
export var x = a + b;
|
||||
|
||||
==== c:/root/folder2/file3.ts (0 errors) ====
|
||||
export var x = 1;
|
||||
|
||||
==== c:/node_modules/file4/index.d.ts (0 errors) ====
|
||||
export var y: number;
|
||||
@@ -9,6 +9,7 @@ declare function use(a: any): void;
|
||||
>use : (a: any) => void
|
||||
> : ^ ^^ ^^^^^
|
||||
>a : any
|
||||
> : ^^^
|
||||
|
||||
use(x.toExponential());
|
||||
>use(x.toExponential()) : void
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
c:/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== c:/root/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": "."
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
}
|
||||
}
|
||||
|
||||
==== c:/root/folder1/file1.ts (0 errors) ====
|
||||
import {x} from "folder2/file2"
|
||||
declare function use(a: any): void;
|
||||
use(x.toExponential());
|
||||
|
||||
==== c:/root/folder2/file2.ts (0 errors) ====
|
||||
import {x as a} from "./file3" // found with baseurl
|
||||
import {y as b} from "file4" // found with fallback
|
||||
export var x = a + b;
|
||||
|
||||
==== c:/root/folder2/file3.ts (0 errors) ====
|
||||
export var x = 1;
|
||||
|
||||
==== c:/file4.ts (0 errors) ====
|
||||
export var y = 100;
|
||||
@@ -9,6 +9,7 @@ declare function use(a: any): void;
|
||||
>use : (a: any) => void
|
||||
> : ^ ^^ ^^^^^
|
||||
>a : any
|
||||
> : ^^^
|
||||
|
||||
use(x.toExponential());
|
||||
>use(x.toExponential()) : void
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
c:/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== c:/root/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": "."
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
}
|
||||
}
|
||||
|
||||
==== c:/root/folder1/file1.ts (0 errors) ====
|
||||
import {x} from "folder2/file2"
|
||||
declare function use(a: any): void;
|
||||
use(x.toExponential());
|
||||
|
||||
==== c:/root/folder2/file2.ts (0 errors) ====
|
||||
import {x as a} from "./file3" // found with baseurl
|
||||
import {y as b} from "file4" // found with fallback
|
||||
export var x = a + b;
|
||||
|
||||
==== c:/root/folder2/file3.ts (0 errors) ====
|
||||
export var x = 1;
|
||||
|
||||
==== c:/node_modules/file4/index.d.ts (0 errors) ====
|
||||
export var y: number;
|
||||
@@ -9,6 +9,7 @@ declare function use(a: any): void;
|
||||
>use : (a: any) => void
|
||||
> : ^ ^^ ^^^^^
|
||||
>a : any
|
||||
> : ^^^
|
||||
|
||||
use(x.toExponential());
|
||||
>use(x.toExponential()) : void
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
c:/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== c:/root/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*": [
|
||||
"*",
|
||||
"generated/*"
|
||||
],
|
||||
"components/*": [
|
||||
"shared/components/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
==== c:/root/folder1/file1.ts (0 errors) ====
|
||||
import {x} from "folder2/file1"
|
||||
import {y} from "folder3/file2"
|
||||
import {z} from "components/file3"
|
||||
import {z1} from "file4"
|
||||
|
||||
declare function use(a: any): void;
|
||||
|
||||
use(x.toExponential());
|
||||
use(y.toExponential());
|
||||
use(z.toExponential());
|
||||
use(z1.toExponential());
|
||||
|
||||
==== c:/root/folder2/file1.ts (0 errors) ====
|
||||
export var x = 1;
|
||||
|
||||
==== c:/root/generated/folder3/file2.ts (0 errors) ====
|
||||
export var y = 1;
|
||||
|
||||
==== c:/root/shared/components/file3.ts (0 errors) ====
|
||||
export var z = 1;
|
||||
|
||||
==== c:/file4.ts (0 errors) ====
|
||||
export var z1 = 1;
|
||||
@@ -21,6 +21,7 @@ declare function use(a: any): void;
|
||||
>use : (a: any) => void
|
||||
> : ^ ^^ ^^^^^
|
||||
>a : any
|
||||
> : ^^^
|
||||
|
||||
use(x.toExponential());
|
||||
>use(x.toExponential()) : void
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
c:/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== c:/root/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*": [
|
||||
"*",
|
||||
"generated/*"
|
||||
],
|
||||
"components/*": [
|
||||
"shared/components/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
==== c:/root/folder1/file1.ts (0 errors) ====
|
||||
import {x} from "folder2/file1"
|
||||
import {y} from "folder3/file2"
|
||||
import {z} from "components/file3"
|
||||
import {z1} from "file4"
|
||||
|
||||
declare function use(a: any): void;
|
||||
|
||||
use(x.toExponential());
|
||||
use(y.toExponential());
|
||||
use(z.toExponential());
|
||||
use(z1.toExponential());
|
||||
|
||||
==== c:/root/folder2/file1.ts (0 errors) ====
|
||||
export var x = 1;
|
||||
|
||||
==== c:/root/generated/folder3/file2.ts (0 errors) ====
|
||||
export var y = 1;
|
||||
|
||||
==== c:/root/shared/components/file3/index.d.ts (0 errors) ====
|
||||
export var z: number;
|
||||
|
||||
==== c:/node_modules/file4.ts (0 errors) ====
|
||||
export var z1 = 1;
|
||||
|
||||
@@ -21,6 +21,7 @@ declare function use(a: any): void;
|
||||
>use : (a: any) => void
|
||||
> : ^ ^^ ^^^^^
|
||||
>a : any
|
||||
> : ^^^
|
||||
|
||||
use(x.toExponential());
|
||||
>use(x.toExponential()) : void
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
c:/root/src/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== c:/root/src/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": "../",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*": [
|
||||
"*",
|
||||
"c:/shared/*"
|
||||
],
|
||||
"templates/*": [
|
||||
"generated/src/templates/*"
|
||||
]
|
||||
},
|
||||
"rootDirs": [
|
||||
".",
|
||||
"../generated/src"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
==== c:/root/src/file1.ts (0 errors) ====
|
||||
import {x} from "./project/file2";
|
||||
import {y} from "module3";
|
||||
|
||||
declare function use(x: string);
|
||||
use(x.toFixed());
|
||||
use(y.toFixed());
|
||||
|
||||
==== c:/root/src/file3.d.ts (0 errors) ====
|
||||
export let x: number;
|
||||
|
||||
==== c:/root/generated/src/project/file2.ts (0 errors) ====
|
||||
import {a} from "module1";
|
||||
import {b} from "templates/module2";
|
||||
import {x as c} from "../file3";
|
||||
export let x = a + b + c;
|
||||
|
||||
==== c:/shared/module1.d.ts (0 errors) ====
|
||||
export let a: number
|
||||
|
||||
==== c:/root/generated/src/templates/module2.ts (0 errors) ====
|
||||
export let b: number;
|
||||
|
||||
==== c:/module3.d.ts (0 errors) ====
|
||||
export let y: number;
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ declare function use(x: string);
|
||||
|
||||
use(x.toFixed());
|
||||
>use(x.toFixed()) : any
|
||||
> : ^^^
|
||||
>use : (x: string) => any
|
||||
> : ^ ^^ ^^^^^^^^
|
||||
>x.toFixed() : string
|
||||
@@ -30,6 +31,7 @@ use(x.toFixed());
|
||||
|
||||
use(y.toFixed());
|
||||
>use(y.toFixed()) : any
|
||||
> : ^^^
|
||||
>use : (x: string) => any
|
||||
> : ^ ^^ ^^^^^^^^
|
||||
>y.toFixed() : string
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
c:/root/src/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== c:/root/src/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": "../",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*": [
|
||||
"*",
|
||||
"c:/shared/*"
|
||||
],
|
||||
"templates/*": [
|
||||
"generated/src/templates/*"
|
||||
]
|
||||
},
|
||||
"rootDirs": [
|
||||
".",
|
||||
"../generated/src"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
==== c:/root/src/file1.ts (0 errors) ====
|
||||
import {x} from "./project/file2";
|
||||
import {y} from "module3";
|
||||
|
||||
declare function use(x: string);
|
||||
use(x.toFixed());
|
||||
use(y.toFixed());
|
||||
|
||||
==== c:/root/src/file3/index.d.ts (0 errors) ====
|
||||
export let x: number;
|
||||
|
||||
==== c:/root/generated/src/project/file2.ts (0 errors) ====
|
||||
import {a} from "module1";
|
||||
import {b} from "templates/module2";
|
||||
import {x as c} from "../file3";
|
||||
export let x = a + b + c;
|
||||
|
||||
==== c:/shared/module1/index.d.ts (0 errors) ====
|
||||
export let a: number
|
||||
|
||||
==== c:/root/generated/src/templates/module2.ts (0 errors) ====
|
||||
export let b: number;
|
||||
|
||||
==== c:/node_modules/module3.d.ts (0 errors) ====
|
||||
export let y: number;
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ declare function use(x: string);
|
||||
|
||||
use(x.toFixed());
|
||||
>use(x.toFixed()) : any
|
||||
> : ^^^
|
||||
>use : (x: string) => any
|
||||
> : ^ ^^ ^^^^^^^^
|
||||
>x.toFixed() : string
|
||||
@@ -30,6 +31,7 @@ use(x.toFixed());
|
||||
|
||||
use(y.toFixed());
|
||||
>use(y.toFixed()) : any
|
||||
> : ^^^
|
||||
>use : (x: string) => any
|
||||
> : ^ ^^ ^^^^^^^^
|
||||
>y.toFixed() : string
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
c:/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== c:/root/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"@speedy/*/testing": [
|
||||
"*/dist/index.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
==== c:/root/index.ts (0 errors) ====
|
||||
import {x} from "@speedy/folder1/testing"
|
||||
|
||||
==== c:/root/folder1/dist/index.ts (0 errors) ====
|
||||
export const x = 1 + 2;
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
c:/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== c:/root/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"@speedy/*/testing": [
|
||||
"*/dist/index.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
==== c:/root/index.ts (0 errors) ====
|
||||
import {x} from "@speedy/folder1/testing"
|
||||
|
||||
==== c:/root/folder1/dist/index.ts (0 errors) ====
|
||||
export const x = 1 + 2;
|
||||
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /root/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"/*": ["./src/*"]
|
||||
},
|
||||
"allowJs": true,
|
||||
"outDir": "bin"
|
||||
}
|
||||
}
|
||||
|
||||
==== /root/src/foo.ts (0 errors) ====
|
||||
export function foo() {}
|
||||
|
||||
==== /root/src/bar.js (0 errors) ====
|
||||
export function bar() {}
|
||||
|
||||
==== /root/a.ts (0 errors) ====
|
||||
import { foo } from "/foo";
|
||||
import { bar } from "/bar";
|
||||
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /root/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"/*": ["./src/*"],
|
||||
"c:/*": ["./src/*"],
|
||||
"c:\\*": ["./src/*"],
|
||||
"//server/*": ["./src/*"],
|
||||
"\\\\server\\*": ["./src/*"],
|
||||
"file:///*": ["./src/*"],
|
||||
"file://c:/*": ["./src/*"],
|
||||
"file://server/*": ["./src/*"],
|
||||
"http://server/*": ["./src/*"]
|
||||
},
|
||||
"allowJs": true,
|
||||
"outDir": "bin"
|
||||
}
|
||||
}
|
||||
|
||||
==== /root/src/foo.ts (0 errors) ====
|
||||
export function foo() {}
|
||||
|
||||
==== /root/src/bar.js (0 errors) ====
|
||||
export function bar() {}
|
||||
|
||||
==== /root/a.ts (0 errors) ====
|
||||
import { foo as foo1 } from "/foo";
|
||||
import { bar as bar1 } from "/bar";
|
||||
import { foo as foo2 } from "c:/foo";
|
||||
import { bar as bar2 } from "c:/bar";
|
||||
import { foo as foo3 } from "c:\\foo";
|
||||
import { bar as bar3 } from "c:\\bar";
|
||||
import { foo as foo4 } from "//server/foo";
|
||||
import { bar as bar4 } from "//server/bar";
|
||||
import { foo as foo5 } from "\\\\server\\foo";
|
||||
import { bar as bar5 } from "\\\\server\\bar";
|
||||
import { foo as foo6 } from "file:///foo";
|
||||
import { bar as bar6 } from "file:///bar";
|
||||
import { foo as foo7 } from "file://c:/foo";
|
||||
import { bar as bar7 } from "file://c:/bar";
|
||||
import { foo as foo8 } from "file://server/foo";
|
||||
import { bar as bar8 } from "file://server/bar";
|
||||
import { foo as foo9 } from "http://server/foo";
|
||||
import { bar as bar9 } from "http://server/bar";
|
||||
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /root/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"/client/*": ["./client/*"],
|
||||
"/import/*": ["./import/*"]
|
||||
},
|
||||
"allowJs": true,
|
||||
"outDir": "bin"
|
||||
}
|
||||
}
|
||||
|
||||
==== /root/import/foo.ts (0 errors) ====
|
||||
export function foo() {}
|
||||
|
||||
==== /root/client/bar.js (0 errors) ====
|
||||
export function bar() {}
|
||||
|
||||
==== /root/src/a.ts (0 errors) ====
|
||||
import { foo } from "/import/foo";
|
||||
import { bar } from "/client/bar";
|
||||
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /root/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"/*": ["./src/*"]
|
||||
},
|
||||
"allowJs": true,
|
||||
"outDir": "bin"
|
||||
}
|
||||
}
|
||||
|
||||
==== /root/a.ts (0 errors) ====
|
||||
import { foo } from "/foo";
|
||||
import { bar } from "/bar";
|
||||
|
||||
==== /foo.ts (0 errors) ====
|
||||
export function foo() {}
|
||||
|
||||
==== /bar.js (0 errors) ====
|
||||
export function bar() {}
|
||||
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /root/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*": ["./src/*"]
|
||||
},
|
||||
"allowJs": true,
|
||||
"outDir": "bin"
|
||||
}
|
||||
}
|
||||
|
||||
==== /root/src/foo.ts (0 errors) ====
|
||||
export function foo() {}
|
||||
|
||||
==== /root/src/bar.js (0 errors) ====
|
||||
export function bar() {}
|
||||
|
||||
==== /root/a.ts (0 errors) ====
|
||||
import { foo } from "/foo";
|
||||
import { bar } from "/bar";
|
||||
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /root/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*": ["./src/*"]
|
||||
},
|
||||
"allowJs": true,
|
||||
"outDir": "bin"
|
||||
}
|
||||
}
|
||||
|
||||
==== /root/a.ts (0 errors) ====
|
||||
import { foo } from "/foo";
|
||||
import { bar } from "/bar";
|
||||
|
||||
==== /foo.ts (0 errors) ====
|
||||
export function foo() {}
|
||||
|
||||
==== /bar.js (0 errors) ====
|
||||
export function bar() {}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"foo": ["foo/foo.ts"],
|
||||
"bar": ["bar/bar.js"]
|
||||
},
|
||||
"allowJs": true,
|
||||
"outDir": "bin"
|
||||
}
|
||||
}
|
||||
|
||||
==== /foo/foo.ts (0 errors) ====
|
||||
export function foo() {}
|
||||
|
||||
==== /bar/bar.js (0 errors) ====
|
||||
export function bar() {}
|
||||
|
||||
==== /a.ts (0 errors) ====
|
||||
import { foo } from "foo";
|
||||
import { bar } from "bar";
|
||||
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*": ["foo/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
==== /foo/zone.js/index.d.ts (0 errors) ====
|
||||
export const x: number;
|
||||
|
||||
==== /foo/zone.tsx/index.d.ts (0 errors) ====
|
||||
export const y: number;
|
||||
|
||||
==== /a.ts (0 errors) ====
|
||||
import { x } from "zone.js";
|
||||
import { y } from "zone.tsx";
|
||||
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*": ["node_modules/*", "src/types"]
|
||||
},
|
||||
"allowJs": true,
|
||||
"outDir": "bin"
|
||||
}
|
||||
}
|
||||
|
||||
==== /a.ts (0 errors) ====
|
||||
import foobar from "foo/bar/foobar.js";
|
||||
|
||||
==== /node_modules/foo/bar/foobar.js (0 errors) ====
|
||||
module.exports = { a: 10 };
|
||||
|
||||
+6
-1
@@ -1,10 +1,15 @@
|
||||
/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
/a.ts(1,21): error TS2307: Cannot find module 'foo' or its corresponding type declarations.
|
||||
|
||||
|
||||
==== /tsconfig.json (0 errors) ====
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"foo": ["foo/foo.ts"]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
/project/tsconfig.json(3,3): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /project/tsconfig.json (1 errors) ====
|
||||
{
|
||||
"extends": "../other/tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
~~~~~~~~~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"module": "commonjs",
|
||||
"paths": {
|
||||
"p1": ["./lib/p1"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
==== /project/index.ts (0 errors) ====
|
||||
import { p1 } from "p1";
|
||||
|
||||
==== /other/tsconfig.base.json (0 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": "."
|
||||
}
|
||||
}
|
||||
|
||||
==== /other/lib/p1/index.ts (0 errors) ====
|
||||
export const p1 = 0;
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
tsconfig.json(5,18): error TS5063: Substitutions for pattern '*' should be an array.
|
||||
|
||||
|
||||
==== tsconfig.json (1 errors) ====
|
||||
==== tsconfig.json (2 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*": "*"
|
||||
~~~
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
tsconfig.json(5,19): error TS5064: Substitution '1' for pattern '*' has incorrect type, expected 'string', got 'number'.
|
||||
|
||||
|
||||
==== tsconfig.json (1 errors) ====
|
||||
==== tsconfig.json (2 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*": [1]
|
||||
~
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
tsconfig.json(5,20): error TS5066: Substitutions for pattern 'foo' shouldn't be an empty array.
|
||||
|
||||
|
||||
==== tsconfig.json (1 errors) ====
|
||||
==== tsconfig.json (2 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"foo": []
|
||||
~~
|
||||
|
||||
@@ -1,14 +1,19 @@
|
||||
tsconfig.json(4,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
tsconfig.json(6,11): error TS5061: Pattern '@interface/**/*' can have at most one '*' character.
|
||||
tsconfig.json(7,11): error TS5061: Pattern '@service/**/*' can have at most one '*' character.
|
||||
tsconfig.json(7,29): error TS5062: Substitution './src/service/**/*' in pattern '@service/**/*' can have at most one '*' character.
|
||||
src/main.ts(1,8): error TS2882: Cannot find module or type declarations for side-effect import of 'someModule'.
|
||||
|
||||
|
||||
==== tsconfig.json (3 errors) ====
|
||||
==== tsconfig.json (4 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"traceResolution": true,
|
||||
"baseUrl": "./src",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"@interface/**/*" : ["./src/interface/*"],
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
+2
@@ -1,4 +1,5 @@
|
||||
importHigher/tsconfig.json(5,25): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
importHigher/root.ts(6,1): error TS2322: Type 'string' is not assignable to type 'number'.
|
||||
|
||||
|
||||
@@ -10,6 +11,7 @@ importHigher/root.ts(6,1): error TS2322: Type 'string' is not assignable to type
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"maxNodeModuleJsDepth": 2
|
||||
}
|
||||
}
|
||||
|
||||
+2
@@ -1,4 +1,5 @@
|
||||
importHigher/tsconfig.json(5,25): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
importHigher/root.ts(6,1): error TS2322: Type 'string' is not assignable to type 'number'.
|
||||
|
||||
|
||||
@@ -10,6 +11,7 @@ importHigher/root.ts(6,1): error TS2322: Type 'string' is not assignable to type
|
||||
"moduleResolution": "node",
|
||||
~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"maxNodeModuleJsDepth": 2
|
||||
}
|
||||
}
|
||||
|
||||
+2
@@ -1,4 +1,5 @@
|
||||
maxDepthExceeded/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
maxDepthExceeded/root.ts(3,1): error TS2322: Type 'string' is not assignable to type 'number'.
|
||||
maxDepthExceeded/root.ts(4,4): error TS2540: Cannot assign to 'rel' because it is a read-only property.
|
||||
|
||||
@@ -8,6 +9,7 @@ maxDepthExceeded/root.ts(4,4): error TS2540: Cannot assign to 'rel' because it i
|
||||
"compilerOptions": {
|
||||
~~~~~~~~~~~~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"allowJs": true,
|
||||
"maxNodeModuleJsDepth": 1, // Note: Module m1 is already included as a root file
|
||||
"outDir": "built"
|
||||
|
||||
+2
@@ -1,4 +1,5 @@
|
||||
maxDepthExceeded/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
maxDepthExceeded/root.ts(3,1): error TS2322: Type 'string' is not assignable to type 'number'.
|
||||
maxDepthExceeded/root.ts(4,4): error TS2540: Cannot assign to 'rel' because it is a read-only property.
|
||||
|
||||
@@ -8,6 +9,7 @@ maxDepthExceeded/root.ts(4,4): error TS2540: Cannot assign to 'rel' because it i
|
||||
"compilerOptions": {
|
||||
~~~~~~~~~~~~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"allowJs": true,
|
||||
"maxNodeModuleJsDepth": 1, // Note: Module m1 is already included as a root file
|
||||
"outDir": "built"
|
||||
|
||||
+2
@@ -1,4 +1,5 @@
|
||||
maxDepthIncreased/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
maxDepthIncreased/root.ts(7,1): error TS2322: Type 'string' is not assignable to type 'number'.
|
||||
|
||||
|
||||
@@ -7,6 +8,7 @@ maxDepthIncreased/root.ts(7,1): error TS2322: Type 'string' is not assignable to
|
||||
"compilerOptions": {
|
||||
~~~~~~~~~~~~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"allowJs": true,
|
||||
"maxNodeModuleJsDepth": 3
|
||||
}
|
||||
|
||||
+2
@@ -1,4 +1,5 @@
|
||||
maxDepthIncreased/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
maxDepthIncreased/root.ts(7,1): error TS2322: Type 'string' is not assignable to type 'number'.
|
||||
|
||||
|
||||
@@ -7,6 +8,7 @@ maxDepthIncreased/root.ts(7,1): error TS2322: Type 'string' is not assignable to
|
||||
"compilerOptions": {
|
||||
~~~~~~~~~~~~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"allowJs": true,
|
||||
"maxNodeModuleJsDepth": 3
|
||||
}
|
||||
|
||||
+6
-1
@@ -1,10 +1,15 @@
|
||||
/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
/a.ts(1,20): error TS2732: Cannot find module 'foo/bar/foobar.json'. Consider using '--resolveJsonModule' to import module with '.json' extension.
|
||||
|
||||
|
||||
==== /tsconfig.json (0 errors) ====
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*": ["node_modules/*", "src/types"]
|
||||
},
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
==== /tsconfig.json (1 errors) ====
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
~~~~~~~~~
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
"paths": {
|
||||
"*": ["node_modules/*", "src/types"]
|
||||
},
|
||||
"allowJs": true,
|
||||
"outDir": "bin"
|
||||
}
|
||||
}
|
||||
|
||||
==== /a.ts (0 errors) ====
|
||||
import foobar from "foo/bar/foobar.json";
|
||||
|
||||
==== /node_modules/foo/bar/foobar.json (0 errors) ====
|
||||
{ "a": 10 }
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(4,25): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
/app.ts(1,23): error TS2688: Cannot find type definition file for 'foo'.
|
||||
/app.ts(2,1): error TS2304: Cannot find name 'MODULE'.
|
||||
/app.ts(3,1): error TS2552: Cannot find name 'SCRIPT'. Did you mean 'WScript'?
|
||||
@@ -11,6 +12,7 @@
|
||||
"moduleResolution": "node10",
|
||||
~~~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"noEmit": true,
|
||||
"types": []
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/tsconfig.json(4,25): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
/app.ts(3,1): error TS2552: Cannot find name 'SCRIPT'. Did you mean 'WScript'?
|
||||
|
||||
|
||||
@@ -9,6 +10,7 @@
|
||||
"moduleResolution": "node10",
|
||||
~~~~~~~~
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
"noEmit": true,
|
||||
"types": []
|
||||
}
|
||||
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
==== file.ts (0 errors) ====
|
||||
import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}}
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
==== file.ts (0 errors) ====
|
||||
import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}}
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
==== file.ts (0 errors) ====
|
||||
import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}}
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
==== file.ts (0 errors) ====
|
||||
import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}}
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
==== file.ts (0 errors) ====
|
||||
import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}}
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
==== file.ts (0 errors) ====
|
||||
import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
==== input.js (0 errors) ====
|
||||
x;
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
==== input.js (0 errors) ====
|
||||
x;
|
||||
@@ -0,0 +1,8 @@
|
||||
error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
==== input.js (0 errors) ====
|
||||
x;
|
||||
@@ -0,0 +1,8 @@
|
||||
error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5101: Visit https://aka.ms/ts6 for migration information.
|
||||
==== input.js (0 errors) ====
|
||||
x;
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
==== input.js (0 errors) ====
|
||||
x;
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
==== input.js (0 errors) ====
|
||||
x;
|
||||
@@ -1,6 +1,8 @@
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
==== input.js (0 errors) ====
|
||||
x;
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
!!! error TS5107: Visit https://aka.ms/ts6 for migration information.
|
||||
==== input.js (0 errors) ====
|
||||
x;
|
||||
+44
-5
@@ -80,10 +80,25 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/packages/pkg1/tsconfig.json'...
|
||||
|
||||
[96mpackages/pkg1/tsconfig.json[0m:[93m3[0m:[93m3[0m - [91merror[0m[90m TS5101: [0mOption 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "compilerOptions": {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~[0m
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'packages/pkg2/tsconfig.json' is out of date because output file 'packages/pkg2/lib/tsconfig.tsbuildinfo' does not exist
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/packages/pkg2/tsconfig.json'...
|
||||
|
||||
[96mpackages/pkg2/tsconfig.json[0m:[93m3[0m:[93m3[0m - [91merror[0m[90m TS5101: [0mOption 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "compilerOptions": {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 2 errors.
|
||||
|
||||
|
||||
|
||||
//// [/home/src/workspaces/project/packages/pkg1/lib/src/index.js]
|
||||
@@ -101,7 +116,7 @@ export interface IThings {
|
||||
|
||||
|
||||
//// [/home/src/workspaces/project/packages/pkg1/lib/tsconfig.tsbuildinfo]
|
||||
{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/index.ts"],"fileInfos":[{"version":"-25093698414-interface 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},{"version":"-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}","signature":"-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"}
|
||||
{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/index.ts"],"fileInfos":[{"version":"-25093698414-interface 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},{"version":"-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}","signature":"-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/project/packages/pkg1/lib/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -138,9 +153,19 @@ export interface IThings {
|
||||
"composite": true,
|
||||
"outDir": "./"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../../../../../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"../src/index.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"latestChangedDtsFile": "./src/index.d.ts",
|
||||
"version": "FakeTSVersion",
|
||||
"size": 892
|
||||
"size": 927
|
||||
}
|
||||
|
||||
//// [/home/src/workspaces/project/packages/pkg2/lib/src/index.js]
|
||||
@@ -158,7 +183,7 @@ export declare function fn4(): import("@fluentui/pkg1").IThing;
|
||||
|
||||
|
||||
//// [/home/src/workspaces/project/packages/pkg2/lib/tsconfig.tsbuildinfo]
|
||||
{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../pkg1/lib/src/index.d.ts","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface 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},"-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n",{"version":"8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}","signature":"-8485768540-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"}
|
||||
{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../pkg1/lib/src/index.d.ts","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface 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},"-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n",{"version":"8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}","signature":"-8485768540-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/project/packages/pkg2/lib/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -210,10 +235,24 @@ export declare function fn4(): import("@fluentui/pkg1").IThing;
|
||||
"../../pkg1/lib/src/index.d.ts"
|
||||
]
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../../../../../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"../../pkg1/lib/src/index.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"../src/index.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"latestChangedDtsFile": "./src/index.d.ts",
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1092
|
||||
"size": 1129
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.Success
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
@@ -139,6 +139,12 @@ File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not
|
||||
File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - use it as a name resolution result.
|
||||
Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/index.d.ts', result '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'.
|
||||
======== Module name 'other/sometype2' was successfully resolved to '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ========
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m3[0m - [91merror[0m[90m TS5101: [0mOption 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "compilerOptions": {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~[0m
|
||||
|
||||
../../tslibs/TS/Lib/lib.d.ts
|
||||
Default library for target 'es5'
|
||||
types/sometype.ts
|
||||
@@ -149,6 +155,9 @@ root2/other/sometype2/index.d.ts
|
||||
Imported via "other/sometype2" from file 'src/secondary.ts'
|
||||
src/secondary.ts
|
||||
Matched by include pattern '${configDir}/src' in 'tsconfig.json'
|
||||
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
//// [/home/src/projects/myproject/outDir/types/sometype.js]
|
||||
@@ -187,7 +196,7 @@ export declare const z = 10;
|
||||
|
||||
|
||||
//// [/home/src/projects/myproject/outDir/tsconfig.tsbuildinfo]
|
||||
{"root":["../main.ts","../src/secondary.ts"],"version":"FakeTSVersion"}
|
||||
{"root":["../main.ts","../src/secondary.ts"],"errors":true,"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/projects/myproject/outDir/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -195,9 +204,10 @@ export declare const z = 10;
|
||||
"../main.ts",
|
||||
"../src/secondary.ts"
|
||||
],
|
||||
"errors": true,
|
||||
"version": "FakeTSVersion",
|
||||
"size": 71
|
||||
"size": 85
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.Success
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
+26
-3
@@ -75,6 +75,12 @@ Resolving module name 'const' relative to base url '/user/username/projects/mypr
|
||||
Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, JavaScript, Declaration, JSON.
|
||||
File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result.
|
||||
======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ========
|
||||
[96mpackages/pkg2/tsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5101: [0mOption 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m5[0m "baseUrl": ".",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/tsconfig.tsbuildinfo' does not exist
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'...
|
||||
@@ -118,6 +124,9 @@ Resolving module name 'const' relative to base url '/user/username/projects/mypr
|
||||
Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, JavaScript, Declaration, JSON.
|
||||
File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result.
|
||||
======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ========
|
||||
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
//// [/user/username/projects/myproject/packages/pkg2/build/const.js]
|
||||
@@ -139,7 +148,7 @@ export type { TheNum } from 'const';
|
||||
|
||||
|
||||
//// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo]
|
||||
{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../const.ts","../index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface 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},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"}
|
||||
{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../const.ts","../index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface 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},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"}
|
||||
|
||||
//// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -199,9 +208,23 @@ export type { TheNum } from 'const';
|
||||
"../const.ts"
|
||||
]
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../../../../../../../home/src/tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"../const.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"../index.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"latestChangedDtsFile": "./index.d.ts",
|
||||
"version": "FakeTSVersion",
|
||||
"size": 950
|
||||
"size": 987
|
||||
}
|
||||
|
||||
//// [/user/username/projects/myproject/packages/pkg1/build/index.js]
|
||||
@@ -224,4 +247,4 @@ exports.theNum = 42;
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.Success
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
+26
-3
@@ -73,6 +73,12 @@ Resolving module name 'const' relative to base url '/user/username/projects/mypr
|
||||
Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, JavaScript, Declaration, JSON.
|
||||
File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result.
|
||||
======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ========
|
||||
[96mpackages/pkg2/tsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5101: [0mOption 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m5[0m "baseUrl": "."
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/tsconfig.tsbuildinfo' does not exist
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'...
|
||||
@@ -115,6 +121,9 @@ Resolving module name 'const' relative to base url '/user/username/projects/mypr
|
||||
Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, JavaScript, Declaration, JSON.
|
||||
File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result.
|
||||
======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ========
|
||||
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
//// [/user/username/projects/myproject/packages/pkg2/build/const.js]
|
||||
@@ -136,7 +145,7 @@ export type { TheNum } from 'const';
|
||||
|
||||
|
||||
//// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo]
|
||||
{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../const.ts","../index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface 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},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"}
|
||||
{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../const.ts","../index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface 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},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"}
|
||||
|
||||
//// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -196,9 +205,23 @@ export type { TheNum } from 'const';
|
||||
"../const.ts"
|
||||
]
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../../../../../../../home/src/tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"../const.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"../index.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"latestChangedDtsFile": "./index.d.ts",
|
||||
"version": "FakeTSVersion",
|
||||
"size": 950
|
||||
"size": 987
|
||||
}
|
||||
|
||||
//// [/user/username/projects/myproject/packages/pkg1/build/index.js]
|
||||
@@ -221,4 +244,4 @@ exports.theNum = 42;
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.Success
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
+1
@@ -52,6 +52,7 @@ Output::
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/solution/project/tsconfig.json'...
|
||||
|
||||
[96mproject/tsconfig.json[0m:[93m3[0m:[93m25[0m - [91merror[0m[90m TS5107: [0mOption 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "moduleResolution": "node",
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
@@ -53,6 +53,7 @@ Output::
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/solution/project/tsconfig.json'...
|
||||
|
||||
[96mproject/tsconfig.json[0m:[93m4[0m:[93m25[0m - [91merror[0m[90m TS5107: [0mOption 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m4[0m "moduleResolution": "node",
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
@@ -54,6 +54,7 @@ Output::
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/solution/project/tsconfig.json'...
|
||||
|
||||
[96mproject/tsconfig.json[0m:[93m3[0m:[93m25[0m - [91merror[0m[90m TS5107: [0mOption 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "moduleResolution": "node",
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user