Skip to content

Commit

Permalink
fix: correct formatting of JSDoc comments in type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
todays-mitsui committed Nov 18, 2024
1 parent 455ec6b commit 0f426b8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions tests-e2e/reference_output/test1/test1.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* tslint:disable */
/* eslint-disable */
/**
* @returns {Point}
*/
* @returns {Point}
*/
export function into_js(): Point;
export interface Point {
x: number;
Expand Down
4 changes: 2 additions & 2 deletions tests-e2e/reference_output/test2/test2.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* tslint:disable */
/* eslint-disable */
/**
* @returns {Point}
*/
* @returns {Point}
*/
export function into_js(): Point;
export interface Point {
x: number;
Expand Down
16 changes: 8 additions & 8 deletions tests-e2e/reference_output/test4/test4.d.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
/* tslint:disable */
/* eslint-disable */
/**
* @param {Point} point
*/
* @param {Point} point
*/
export function consume(point: Point): void;
/**
* @returns {Point}
*/
* @returns {Point}
*/
export function into_js(): Point;
/**
* @param {(Point)[]} points
*/
* @param {(Point)[]} points
*/
export function consume_vector(points: (Point)[]): void;
/**
* @returns {(Point)[]}
*/
* @returns {(Point)[]}
*/
export function vector_into_js(): (Point)[];
export interface Point {
x: number;
Expand Down

0 comments on commit 0f426b8

Please sign in to comment.