Skip to content

Commit ba8c9dc

Browse files
committed
1.0.0
1 parent 8f39839 commit ba8c9dc

File tree

4 files changed

+17
-177
lines changed

4 files changed

+17
-177
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export function getTypeNames(options: Options) {
9999
return types
100100
}
101101

102-
function getDefinition<T = string>(name: T, options: Options) {
102+
export function getDefinition<T = string>(name: T, options: Options) {
103103
const jsGen = getJsGen(options.rootPath)
104104
if (!jsGen) {
105105
return {}

test/typings/base.d.ts

Lines changed: 0 additions & 67 deletions
This file was deleted.

test/typings/openAi.d.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
declare module API {
2+
/** open ai */
3+
namespace openAi {
4+
/**
5+
* 代理设置
6+
*/
7+
interface IProxy {
8+
host: string
9+
ip: string
10+
useIp: boolean
11+
active: boolean
12+
createdat: Date
13+
updatedat: Date
14+
}
15+
}
16+
}

test/typings/poster.d.ts

Lines changed: 0 additions & 109 deletions
This file was deleted.

0 commit comments

Comments
 (0)