mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 19:59:37 +00:00
fix: types
This commit is contained in:
parent
572a574d00
commit
ea72bb0afe
4 changed files with 5 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "classcharts-api",
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.6",
|
||||
"description": "",
|
||||
"repository": {
|
||||
"url": "https://github.com/jamesatjaminit/classcharts-api"
|
||||
|
|
@ -17,7 +17,8 @@
|
|||
"undici": "^4.9.2"
|
||||
},
|
||||
"files": [
|
||||
"dist/**"
|
||||
"dist/**",
|
||||
"types.d.ts"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@types/node": "^16.11.6",
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import {
|
|||
HomeworksResponse,
|
||||
LessonsResponse,
|
||||
Student,
|
||||
} from './types'
|
||||
} from '../types'
|
||||
export async function getStudentInfo(
|
||||
studentCode: string,
|
||||
dateOfBirth?: string
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import {
|
|||
HomeworksResponse,
|
||||
LessonsResponse,
|
||||
Student,
|
||||
} from './types'
|
||||
} from '../types'
|
||||
import { API_BASE, BASE_URL } from './consts'
|
||||
/**
|
||||
* The base client
|
||||
|
|
|
|||
0
src/types.d.ts → types.d.ts
vendored
0
src/types.d.ts → types.d.ts
vendored
Loading…
Add table
Add a link
Reference in a new issue