Skip to content

Commit a805089

Browse files
authored
fix: mist.d.ts formatting (#64)
1 parent b89b863 commit a805089

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function render(parsed: Parsed): string {
7979
jsxDeclaration += ' }\n}\n'
8080

8181
// Return the full interface definitions and JSX declaration
82-
return interfaceDefinitions.trim() + '\n\n' + jsxDeclaration.trim()
82+
return interfaceDefinitions + jsxDeclaration
8383
}
8484

8585
// Turn button[data-component='foo'] into a key that will be used for the interface name

test/mist.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ declare namespace JSX {
66
interface IntrinsicElements {
77
button: Mist_button
88
}
9-
}
9+
}

0 commit comments

Comments
 (0)