chore: replaced @ts-ignore with @ts-expect-error

This commit is contained in:
Roberto Tonino 2021-05-11 21:45:55 +02:00
parent 62bdb71ede
commit c779515e3e

View File

@ -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)
})
})