core-api: change ApiFactory.implements to .api

This commit is contained in:
Patrik Oldsberg
2020-09-04 17:45:38 +02:00
parent beb9269841
commit 38b6703102
20 changed files with 54 additions and 59 deletions
+1 -1
View File
@@ -21,12 +21,12 @@ import { techdocsStorageApiRef } from '../src';
createDevApp()
.registerApi({
api: techdocsStorageApiRef,
deps: {},
factory: () =>
new TechDocsDevStorageApi({
apiOrigin: 'http://localhost:3000/api',
}),
implements: techdocsStorageApiRef,
})
.registerPlugin(plugin)
.render();