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

sp core library.servicescope.startnewroot

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

Home > @microsoft/sp-core-library > ServiceScope > startNewRoot

ServiceScope.startNewRoot() method

Create a new root-level ServiceScope. Only root-level scopes have the ability to autocreate default implementations of ServiceKeys.

Signature:

static startNewRoot(): ServiceScope;

Returns:

ServiceScope

the newly created root ServiceScope

Clone this wiki locally