core-api: change ApiFactory.implements to .api
This commit is contained in:
@@ -21,7 +21,7 @@ import { lighthouseApiRef, LighthouseRestApi } from '../src';
|
||||
createDevApp()
|
||||
.registerPlugin(plugin)
|
||||
.registerApi({
|
||||
implements: lighthouseApiRef,
|
||||
api: lighthouseApiRef,
|
||||
deps: {},
|
||||
factory: () => new LighthouseRestApi('http://localhost:3003'),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user