@@ -5,7 +5,6 @@ import { generate } from '@stacksjs/dtsx';
5
5
/**
6
6
* Example of const declaration
7
7
*/
8
-
9
8
export declare const conf : { [ key : string ] : string } ;
10
9
export declare const someObject : {
11
10
someString : 'Stacks' ;
@@ -37,7 +36,6 @@ export declare const someObject: {
37
36
* Example of interface declaration
38
37
* with another comment in an extra line
39
38
*/
40
-
41
39
export declare interface User {
42
40
id : number
43
41
name : string
@@ -48,7 +46,6 @@ export declare interface User {
48
46
*
49
47
* with multiple lines of comments, including an empty line
50
48
*/
51
-
52
49
export declare interface ResponseData {
53
50
success : boolean
54
51
data : User [ ]
@@ -59,7 +56,6 @@ export declare interface ResponseData {
59
56
*
60
57
* with multiple empty lines, including an empty lines
61
58
*/
62
-
63
59
export declare function fetchUsers ( ) : Promise < ResponseData > ;
64
60
export declare interface ApiResponse < T > {
65
61
status : number
@@ -71,7 +67,6 @@ export declare interface ApiResponse<T> {
71
67
*
72
68
* with multiple empty lines, including being poorly formatted
73
69
*/
74
-
75
70
declare const settings : { [ key : string ] : any } ;
76
71
export declare interface Product {
77
72
id : number
@@ -81,7 +76,6 @@ export declare interface Product {
81
76
/**
82
77
* Example of function declaration
83
78
*/
84
-
85
79
export declare function getProduct ( id : number ) : Promise < ApiResponse < Product > > ;
86
80
export declare interface AuthResponse {
87
81
token : string
0 commit comments