Skip to content

Commit

Permalink
fix: config as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
star0202 committed Apr 5, 2023
1 parent 29645a4 commit c111cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { School } from './structures/school'
import type { NeisConfig, SchoolRequestParam } from './types'

export class Neis extends NeisRequest {
constructor(config: NeisConfig) {
constructor(config?: NeisConfig) {
super({ Type: 'json', pIndex: 1, pSize: 100, ...config })
}

Expand Down

0 comments on commit c111cbf

Please sign in to comment.