chore: replaced @ts-ignore with @ts-expect-error
This commit is contained in:
parent
62bdb71ede
commit
c779515e3e
@ -35,7 +35,7 @@ const methods: Method[] = [
|
||||
export function registerApis(app: Application) {
|
||||
methods.forEach(({ method, endpoints }) => {
|
||||
endpoints.forEach(endpoint => {
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
app[method](prependApiPath(endpoint.path), endpoint.handler)
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user