Skip to content

Commit d570517

Browse files
committed
update dts
1 parent 6e61707 commit d570517

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

crates/swc_typescript/tests/fixture/symbol-getter-setter.snap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
```==================== .D.TS ====================
22
3-
// @isolatedDeclarations: true
4-
// @emitDeclarationOnly: true
53
export declare const foo: {
64
[Symbol.toStringTag]: string;
75
};
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
```==================== .D.TS ====================
22
3-
/** comment should be a leading comment of the arrow function */ declare const _default_1: () => number;
4-
export default _default_1;
3+
declare const _default_1: () => number;
4+
/** comment should be a leading comment of the arrow function */ export default _default_1;
55
66

crates/swc_typescript/tests/oxc_fixture/non-exported-binding-elements.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
```==================== .D.TS ====================
22
3-
// Correct
43
export declare function foo(): number;
54
export { c, d, e };
65
export declare const { f, g } = {

crates/swc_typescript/tests/oxc_fixture/strip-internal.snap

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
```==================== .D.TS ====================
22
3-
/*
4-
@internal
5-
*/ declare class StripInternalClassFields {
3+
declare class StripInternalClassFields {
64
}
75
export { stripInternalFunction, StripInternalClass, StripInternalClassFields };
86
export interface StripInternalInterfaceSignatures {

0 commit comments

Comments
 (0)