UNPKG

682 BTypeScriptView Raw
1export declare enum PreferenceScope {
2 Default = 0,
3 User = 1,
4 Workspace = 2,
5 Folder = 3
6}
7export declare namespace PreferenceScope {
8 function is(scope: unknown): scope is PreferenceScope;
9 /**
10 * @returns preference scopes from broadest to narrowest: Default -> Folder.
11 */
12 function getScopes(): PreferenceScope[];
13 /**
14 * @returns preference scopes from narrowest to broadest. Folder -> Default.
15 */
16 function getReversedScopes(): PreferenceScope[];
17 function getScopeNames(scope?: PreferenceScope): string[];
18 function fromString(strScope: string): PreferenceScope | undefined;
19}
20//# sourceMappingURL=preference-scope.d.ts.map
\No newline at end of file