diff --git a/src/interfaces/plugins.ts b/src/interfaces/plugins.ts index 9498f9176..71ab1f9bf 100644 --- a/src/interfaces/plugins.ts +++ b/src/interfaces/plugins.ts @@ -626,7 +626,7 @@ module.exports = (theApp: any) => { appCopy.registerHistoryProvider = (provider) => { app.registerHistoryProvider(provider) - const apiList = app.apiList as SignalKApiId[] + const apiList = app.apis as SignalKApiId[] apiList.push('historyplayback') apiList.push('historysnapshot') onStopHandlers[plugin.id].push(() => {