1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 03:56:59 +00:00

fix: types

This commit is contained in:
James Cook 2021-11-23 23:04:26 +00:00
parent 572a574d00
commit ea72bb0afe
4 changed files with 5 additions and 4 deletions

View file

@ -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",

View file

@ -13,7 +13,7 @@ import {
HomeworksResponse,
LessonsResponse,
Student,
} from './types'
} from '../types'
export async function getStudentInfo(
studentCode: string,
dateOfBirth?: string

View file

@ -11,7 +11,7 @@ import {
HomeworksResponse,
LessonsResponse,
Student,
} from './types'
} from '../types'
import { API_BASE, BASE_URL } from './consts'
/**
* The base client

View file