-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
54 changed files
with
104 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
/// <reference types="some-ambient-import" /> | ||
|
||
declare module 'ambient-imports' { | ||
interface Foo {} | ||
|
||
export { Foo }; | ||
export interface Foo {} | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ | |
"sourcesContent": [ | ||
null | ||
], | ||
"mappings": ";;;WAEiBA,GAAGA" | ||
"mappings": ";;;kBAEiBA,GAAGA" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
declare module 'const-namespace' { | ||
namespace a { | ||
export namespace a { | ||
const x: number; | ||
} | ||
|
||
export { a }; | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
declare module 'const-namespace' { | ||
namespace a { | ||
export namespace a { | ||
let x: number; | ||
} | ||
|
||
export { a }; | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map | ||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
declare module 'declare-module' { | ||
interface Foo {} | ||
|
||
export { Foo }; | ||
export interface Foo {} | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ | |
"sourcesContent": [ | ||
null | ||
], | ||
"mappings": ";WAOiBA,GAAGA" | ||
"mappings": ";kBAOiBA,GAAGA" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
declare module 'deconflict-priority' { | ||
function x(foo: Foo, bar: Bar): void; | ||
export function x(foo: Foo, bar: Bar): void; | ||
interface Foo {} | ||
interface Bar {} | ||
|
||
export { x }; | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
declare module 'enum' { | ||
enum categories { | ||
export enum categories { | ||
ANIMAL = 0, | ||
VEGETABLE = 1, | ||
MINERAL = 2 | ||
} | ||
|
||
export { categories }; | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map | ||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ | |
"sourcesContent": [ | ||
null | ||
], | ||
"mappings": ";MAAYA,UAAUA" | ||
} | ||
"mappings": ";aAAYA,UAAUA" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ | |
"sourcesContent": [ | ||
null | ||
], | ||
"mappings": ";;;;UAMwBA,GAAGA" | ||
"mappings": ";;;;iBAMwBA,GAAGA" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
declare module 'export-default-function' { | ||
export default function foo(): void; | ||
|
||
export { default }; | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
declare module 'export-default-value' { | ||
const _default: 42; | ||
export default _default; | ||
|
||
export { default }; | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
declare module 'export-from' { | ||
const foo: "hello"; | ||
|
||
export { foo }; | ||
export const foo: "hello"; | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ | |
"sourcesContent": [ | ||
null | ||
], | ||
"mappings": ";OAAaA,GAAGA" | ||
"mappings": ";cAAaA,GAAGA" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
declare module 'export-type' { | ||
type D = {}; | ||
class B<D> {} | ||
|
||
export { B, D }; | ||
export type D = {}; | ||
export class B<D> {} | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map | ||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
"sources": [], | ||
"sourcesContent": [], | ||
"mappings": "" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
declare module 'generics' { | ||
interface Foo<T> { | ||
export interface Foo<T> { | ||
bar: T; | ||
} | ||
|
||
export { Foo }; | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ | |
"sourcesContent": [ | ||
null | ||
], | ||
"mappings": ";WAAiBA,GAAGA" | ||
"mappings": ";kBAAiBA,GAAGA" | ||
} |
6 changes: 2 additions & 4 deletions
6
test/samples/ignores-missing-sourcemap-segments/output 5.0/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
declare module 'ignores-missing-sourcemap-segments' { | ||
function hello(): void; | ||
namespace object { | ||
export function hello(): void; | ||
export namespace object { | ||
const answer: number; | ||
} | ||
|
||
export { hello, object }; | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,5 @@ | |
null, | ||
null | ||
], | ||
"mappings": ";UAIgBA,KAAKA;WCHJC,MAAMA" | ||
} | ||
"mappings": ";iBAIgBA,KAAKA;kBCHJC,MAAMA" | ||
} |
8 changes: 3 additions & 5 deletions
8
test/samples/ignores-missing-sourcemap-segments/output/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
declare module 'ignores-missing-sourcemap-segments' { | ||
function hello(): void; | ||
namespace object { | ||
export function hello(): void; | ||
export namespace object { | ||
let answer: number; | ||
} | ||
|
||
export { hello, object }; | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map | ||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,5 @@ | |
null, | ||
null | ||
], | ||
"mappings": ";UAIgBA,KAAKA;WCHJC,MAAMA" | ||
"mappings": ";iBAIgBA,KAAKA;kBCHJC,MAAMA" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
declare module 'import-external-default' { | ||
import type { default as x } from 'external'; | ||
function foo(input: x): x; | ||
|
||
export { foo }; | ||
export function foo(input: x): x; | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map | ||
//# sourceMappingURL=index.d.ts.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ | |
"sourcesContent": [ | ||
null | ||
], | ||
"mappings": ";;UAEgBA,GAAGA" | ||
} | ||
"mappings": ";;iBAEgBA,GAAGA" | ||
} |
6 changes: 2 additions & 4 deletions
6
test/samples/import-external-named-as-conflict/output/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
declare module 'import-external-named-as-conflict' { | ||
import type { foo as f } from 'external'; | ||
function foo(): void; | ||
|
||
export { foo, f }; | ||
export function foo(): void; | ||
export { f }; | ||
} | ||
|
||
//# sourceMappingURL=index.d.ts.map | ||
//# sourceMappingURL=index.d.ts.map |
Oops, something went wrong.