Remove unused baselines (#50593)

This commit is contained in:
Jake Bailey 2022-09-01 12:48:28 -07:00 committed by GitHub
parent 6db2c882f3
commit 891cdc58aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 0 additions and 243 deletions

View File

@ -1,16 +0,0 @@
tests/cases/compiler/index.ts(1,20): error TS2307: Cannot find module 'pkg' or its corresponding type declarations.
==== tests/cases/compiler/node_modules/pkg/package.json (0 errors) ====
{
"name": "pkg",
"version": "0.0.1",
"exports": "./entrypoint.js"
}
==== tests/cases/compiler/node_modules/pkg/entrypoint.d.ts (0 errors) ====
export declare function thing(): void;
==== tests/cases/compiler/index.ts (1 errors) ====
import * as p from "pkg";
~~~~~
!!! error TS2307: Cannot find module 'pkg' or its corresponding type declarations.
p.thing();

View File

@ -1,19 +0,0 @@
//// [tests/cases/compiler/moduleResolutionWithModule.ts] ////
//// [package.json]
{
"name": "pkg",
"version": "0.0.1",
"exports": "./entrypoint.js"
}
//// [entrypoint.d.ts]
export declare function thing(): void;
//// [index.ts]
import * as p from "pkg";
p.thing();
//// [index.js]
"use strict";
exports.__esModule = true;
var p = require("pkg");
p.thing();

View File

@ -1,11 +0,0 @@
=== tests/cases/compiler/node_modules/pkg/entrypoint.d.ts ===
export declare function thing(): void;
>thing : Symbol(thing, Decl(entrypoint.d.ts, 0, 0))
=== tests/cases/compiler/index.ts ===
import * as p from "pkg";
>p : Symbol(p, Decl(index.ts, 0, 6))
p.thing();
>p : Symbol(p, Decl(index.ts, 0, 6))

View File

@ -1,14 +0,0 @@
=== tests/cases/compiler/node_modules/pkg/entrypoint.d.ts ===
export declare function thing(): void;
>thing : () => void
=== tests/cases/compiler/index.ts ===
import * as p from "pkg";
>p : any
p.thing();
>p.thing() : any
>p.thing : any
>p : any
>thing : any

View File

@ -1,16 +0,0 @@
tests/cases/compiler/index.ts(1,20): error TS2307: Cannot find module 'pkg' or its corresponding type declarations.
==== tests/cases/compiler/node_modules/pkg/package.json (0 errors) ====
{
"name": "pkg",
"version": "0.0.1",
"exports": "./entrypoint.js"
}
==== tests/cases/compiler/node_modules/pkg/entrypoint.d.ts (0 errors) ====
export declare function thing(): void;
==== tests/cases/compiler/index.ts (1 errors) ====
import * as p from "pkg";
~~~~~
!!! error TS2307: Cannot find module 'pkg' or its corresponding type declarations.
p.thing();

View File

@ -1,42 +0,0 @@
//// [tests/cases/compiler/moduleResolutionWithModule.ts] ////
//// [package.json]
{
"name": "pkg",
"version": "0.0.1",
"exports": "./entrypoint.js"
}
//// [entrypoint.d.ts]
export declare function thing(): void;
//// [index.ts]
import * as p from "pkg";
p.thing();
//// [index.js]
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const p = __importStar(require("pkg"));
p.thing();

View File

@ -1,11 +0,0 @@
=== tests/cases/compiler/node_modules/pkg/entrypoint.d.ts ===
export declare function thing(): void;
>thing : Symbol(thing, Decl(entrypoint.d.ts, 0, 0))
=== tests/cases/compiler/index.ts ===
import * as p from "pkg";
>p : Symbol(p, Decl(index.ts, 0, 6))
p.thing();
>p : Symbol(p, Decl(index.ts, 0, 6))

View File

@ -1,14 +0,0 @@
=== tests/cases/compiler/node_modules/pkg/entrypoint.d.ts ===
export declare function thing(): void;
>thing : () => void
=== tests/cases/compiler/index.ts ===
import * as p from "pkg";
>p : any
p.thing();
>p.thing() : any
>p.thing : any
>p : any
>thing : any

View File

@ -1,16 +0,0 @@
tests/cases/compiler/index.ts(1,20): error TS2307: Cannot find module 'pkg' or its corresponding type declarations.
==== tests/cases/compiler/node_modules/pkg/package.json (0 errors) ====
{
"name": "pkg",
"version": "0.0.1",
"exports": "./entrypoint.js"
}
==== tests/cases/compiler/node_modules/pkg/entrypoint.d.ts (0 errors) ====
export declare function thing(): void;
==== tests/cases/compiler/index.ts (1 errors) ====
import * as p from "pkg";
~~~~~
!!! error TS2307: Cannot find module 'pkg' or its corresponding type declarations.
p.thing();

View File

@ -1,42 +0,0 @@
//// [tests/cases/compiler/moduleResolutionWithModule.ts] ////
//// [package.json]
{
"name": "pkg",
"version": "0.0.1",
"exports": "./entrypoint.js"
}
//// [entrypoint.d.ts]
export declare function thing(): void;
//// [index.ts]
import * as p from "pkg";
p.thing();
//// [index.js]
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const p = __importStar(require("pkg"));
p.thing();

View File

@ -1,11 +0,0 @@
=== tests/cases/compiler/node_modules/pkg/entrypoint.d.ts ===
export declare function thing(): void;
>thing : Symbol(thing, Decl(entrypoint.d.ts, 0, 0))
=== tests/cases/compiler/index.ts ===
import * as p from "pkg";
>p : Symbol(p, Decl(index.ts, 0, 6))
p.thing();
>p : Symbol(p, Decl(index.ts, 0, 6))

View File

@ -1,14 +0,0 @@
=== tests/cases/compiler/node_modules/pkg/entrypoint.d.ts ===
export declare function thing(): void;
>thing : () => void
=== tests/cases/compiler/index.ts ===
import * as p from "pkg";
>p : any
p.thing();
>p.thing() : any
>p.thing : any
>p : any
>thing : any

View File

@ -1,12 +0,0 @@
//// [renamingDestructuredPropertyInFunctionType2.ts]
type F = ({a: string}) => void;
const f = ({a: string}) => string;
//// [renamingDestructuredPropertyInFunctionType2.js]
var f = function (_a) {
var string = _a.a;
return string;
};

View File

@ -1,5 +0,0 @@
{
"compilerOptions": {
"noDtsResolution": true
}
}