Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp core library.servicecreator

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-core-library > ServiceCreator

ServiceCreator type

This is a callback that is used by ServiceKey.createCustom().

Signature:

export declare type ServiceCreator<T> = (serviceScope: ServiceScope) => T;
Clone this wiki locally