feat: ts support

This commit is contained in:
a632079
2020-09-05 16:31:13 +08:00
parent 139e9a1a39
commit c6312abbad
5 changed files with 854 additions and 1 deletions
+1
View File
@@ -1,6 +1,7 @@
export interface APIBaseResponse {
code: number
cookie: string
[index: string]: unknown
}
export interface RequestBaseConfig {
+2 -1
View File
@@ -1,6 +1,7 @@
import { RequestBaseConfig } from './base'
export interface CaptchaExistenceCheckRequestConfig extends RequestBaseConfig {
export interface CellphoneExistenceCheckRequestConfig
extends RequestBaseConfig {
cellphone: string
countrycode: string
}