Skip to content

Commit 2af9e8c

Browse files
committed
Remove blank line from type literal
1 parent 179d46f commit 2af9e8c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typedoc-plugin-typescript-declaration",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "Typedoc plugin to render to typescript declaration file",
55
"main": "dist/index.js",
66
"bin": {

src/render/type-literal-renderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default class TypeLiteralRenderer extends ContainerRenderer {
3232
} else if (member.signatures) {
3333
let signature = ReflectionFormatter.instance().render(member.signatures[0]);
3434
if (indent) {
35-
lines.push('\n');
35+
lines.push('');
3636
signature = signature.split('\n').map(l => ` ${l}`).join('\n');
3737
}
3838
lines.push(signature);

0 commit comments

Comments
 (0)