@@ -11,16 +11,16 @@ import { isUndefined, isUndefinedOrNull } from 'vs/base/common/types';
1111import { IStateService } from 'vs/platform/state/node/state' ;
1212import { ILogService } from 'vs/platform/log/common/log' ;
1313
14- type StorageDatebase = { [ key : string ] : any ; } ;
14+ type StorageDatabase = { [ key : string ] : any ; } ;
1515
1616export class FileStorage {
1717
18- private _database : StorageDatebase | null = null ;
18+ private _database : StorageDatabase | null = null ;
1919 private lastFlushedSerializedDatabase : string | null = null ;
2020
2121 constructor ( private dbPath : string , private onError : ( error : Error ) => void ) { }
2222
23- private get database ( ) : StorageDatebase {
23+ private get database ( ) : StorageDatabase {
2424 if ( ! this . _database ) {
2525 this . _database = this . loadSync ( ) ;
2626 }
@@ -42,7 +42,7 @@ export class FileStorage {
4242 this . _database = database ;
4343 }
4444
45- private loadSync ( ) : StorageDatebase {
45+ private loadSync ( ) : StorageDatabase {
4646 try {
4747 this . lastFlushedSerializedDatabase = fs . readFileSync ( this . dbPath ) . toString ( ) ;
4848
@@ -56,7 +56,7 @@ export class FileStorage {
5656 }
5757 }
5858
59- private async loadAsync ( ) : Promise < StorageDatebase > {
59+ private async loadAsync ( ) : Promise < StorageDatabase > {
6060 try {
6161 this . lastFlushedSerializedDatabase = ( await readFile ( this . dbPath ) ) . toString ( ) ;
6262
0 commit comments