提交 248bef1f 编写于 作者: B Benjamin Pasero

sqlite - fix compile

上级 e7c47cdf
...@@ -31,7 +31,7 @@ export interface IStorageService { ...@@ -31,7 +31,7 @@ export interface IStorageService {
* The scope argument allows to define the scope of the storage * The scope argument allows to define the scope of the storage
* operation to either the current workspace only or all workspaces. * operation to either the current workspace only or all workspaces.
*/ */
get(key: string, scope: StorageScope, fallbackValue?: string): string; get(key: string, scope: StorageScope, fallbackValue?: string): string | undefined;
/** /**
* Retrieve an element stored with the given key from storage. Use * Retrieve an element stored with the given key from storage. Use
...@@ -41,7 +41,7 @@ export interface IStorageService { ...@@ -41,7 +41,7 @@ export interface IStorageService {
* The scope argument allows to define the scope of the storage * The scope argument allows to define the scope of the storage
* operation to either the current workspace only or all workspaces. * operation to either the current workspace only or all workspaces.
*/ */
getBoolean(key: string, scope: StorageScope, fallbackValue?: boolean): boolean; getBoolean(key: string, scope: StorageScope, fallbackValue?: boolean): boolean | undefined;
/** /**
* Retrieve an element stored with the given key from storage. Use * Retrieve an element stored with the given key from storage. Use
...@@ -51,7 +51,7 @@ export interface IStorageService { ...@@ -51,7 +51,7 @@ export interface IStorageService {
* The scope argument allows to define the scope of the storage * The scope argument allows to define the scope of the storage
* operation to either the current workspace only or all workspaces. * operation to either the current workspace only or all workspaces.
*/ */
getInteger(key: string, scope: StorageScope, fallbackValue?: number): number; getInteger(key: string, scope: StorageScope, fallbackValue?: number): number | undefined;
/** /**
* Store a string value under the given key to storage. The value will * Store a string value under the given key to storage. The value will
...@@ -95,15 +95,15 @@ export const NullStorageService: IStorageService = { ...@@ -95,15 +95,15 @@ export const NullStorageService: IStorageService = {
onDidChangeStorage: Event.None, onDidChangeStorage: Event.None,
onWillClose: Event.None, onWillClose: Event.None,
get(key: string, scope: StorageScope, fallbackValue?: string): string { get(key: string, scope: StorageScope, fallbackValue?: string): string | undefined {
return fallbackValue; return fallbackValue;
}, },
getBoolean(key: string, scope: StorageScope, fallbackValue?: boolean): boolean { getBoolean(key: string, scope: StorageScope, fallbackValue?: boolean): boolean | undefined {
return fallbackValue; return fallbackValue;
}, },
getInteger(key: string, scope: StorageScope, fallbackValue?: number): number { getInteger(key: string, scope: StorageScope, fallbackValue?: number): number | undefined {
return fallbackValue; return fallbackValue;
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册