We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Home > @microsoft/sp-core-library > ServiceKey > createCustom
Constructs a new ServiceKey whose default implementation will be obtained by invoking the specified callback.
Signature:
static createCustom<TKey>(name: string, defaultCreator: ServiceCreator<TKey>): ServiceKey<TKey>;
Returns:
ServiceKey<TKey>
the newly created service key
Home