Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Jul 2, 2024
1 parent 5c11cc7 commit 46f6dde
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 6 deletions.
4 changes: 4 additions & 0 deletions test/samples/basic/output/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ declare module 'basic' {
* @param b the second vector
* */
export function add(a: Vector2, b: Vector2): Vector2;

export {};
}

declare module 'basic/subpackage' {
/**
* Multiply two vectors
* */
export function multiply(a: import('basic').Vector2, b: import('basic').Vector2): import('basic').Vector2;

export {};
}

//# sourceMappingURL=index.d.ts.map
2 changes: 1 addition & 1 deletion test/samples/basic/output/index.d.ts.map
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
null,
null
],
"mappings": ";;kBACiBA,OAAOA;;;;;;;;;;;iBCKRC,GAAGA;;;;;;;iBCAHC,QAAQA"
"mappings": ";;kBACiBA,OAAOA;;;;;;;;;;;iBCKRC,GAAGA;;;;;;;;;iBCAHC,QAAQA"
}
4 changes: 3 additions & 1 deletion test/samples/const-namespace/output 5.0/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ declare module 'const-namespace' {
export namespace a {
const x: number;
}

export {};
}

//# sourceMappingURL=index.d.ts.map
//# sourceMappingURL=index.d.ts.map
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ declare module 'ignores-missing-sourcemap-segments' {
export namespace object {
const answer: number;
}

export {};
}

//# sourceMappingURL=index.d.ts.map
//# sourceMappingURL=index.d.ts.map
4 changes: 2 additions & 2 deletions test/samples/jsdoc-import/output/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ declare module 'jsdoc-import' {
* @param a the first vector
* @param b the second vector
* */
function add(a: Vector2, b: Vector2): Vector2;
export function add(a: Vector2, b: Vector2): Vector2;

export { add };
export {};
}

//# sourceMappingURL=index.d.ts.map
2 changes: 1 addition & 1 deletion test/samples/jsdoc-import/output/index.d.ts.map
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"sourcesContent": [
null
],
"mappings": ";;;;;;;UAQgBA,GAAGA"
"mappings": ";;;;;;;iBAQgBA,GAAGA"
}
2 changes: 2 additions & 0 deletions test/samples/path-config/output 5.0 - 5.1/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ declare module 'path-config' {
type Input = number;
type Output = number;
export function foo_nested(input: Input): Output;

export {};
}

//# sourceMappingURL=index.d.ts.map

0 comments on commit 46f6dde

Please sign in to comment.