We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b89b863 commit a805089Copy full SHA for a805089
src/index.ts
@@ -79,7 +79,7 @@ function render(parsed: Parsed): string {
79
jsxDeclaration += ' }\n}\n'
80
81
// Return the full interface definitions and JSX declaration
82
- return interfaceDefinitions.trim() + '\n\n' + jsxDeclaration.trim()
+ return interfaceDefinitions + jsxDeclaration
83
}
84
85
// Turn button[data-component='foo'] into a key that will be used for the interface name
test/mist.d.ts
@@ -6,4 +6,4 @@ declare namespace JSX {
6
interface IntrinsicElements {
7
button: Mist_button
8
9
-}
+}
0 commit comments