Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
tkurki committed Dec 6, 2023
1 parent 0277c4b commit 80c6b8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -609,12 +609,11 @@ function startInterfaces(app: ServerApp & WithConfig & WithWrappedEmitter) {
const handler = {
set(obj: any, prop: any, value: any) {
;(app as any)[prop] = value
;(appCopy as any)[prop] = value
return true
},
// eslint-disable-next-line @typescript-eslint/no-unused-vars
get(target: any, prop: string | symbol, receiver: any) {
return (appCopy as any)[prop]
return (app as any)[prop]
}
}
const _interface = (appCopy.interfaces[name] = theInterface(
Expand Down

0 comments on commit 80c6b8f

Please sign in to comment.