mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
Changing "do a thing" to less colloquial lang
This commit is contained in:
@@ -4,7 +4,7 @@ Copyright (c) Microsoft Corporation
|
||||
*/
|
||||
|
||||
OfficeRuntime.AsyncStorage.getItem("foo", () => {
|
||||
//do a thing
|
||||
//perform an action
|
||||
})
|
||||
OfficeRuntime.AsyncStorage.getItem("foo").then(value => console.log(value))
|
||||
|
||||
@@ -13,12 +13,12 @@ OfficeRuntime.AsyncStorage.setItem("foo", "bar").then(error => console.log(error
|
||||
|
||||
OfficeRuntime.AsyncStorage.removeItem("foo");
|
||||
OfficeRuntime.AsyncStorage.removeItem("foo", () => {
|
||||
//do a thing
|
||||
//perform an action
|
||||
})
|
||||
|
||||
OfficeRuntime.AsyncStorage.clear();
|
||||
OfficeRuntime.AsyncStorage.clear(() => {
|
||||
//do a thing
|
||||
//perform an action
|
||||
})
|
||||
|
||||
OfficeRuntime.AsyncStorage.getAllKeys().then(keys => {
|
||||
@@ -74,4 +74,4 @@ OfficeRuntime.displayWebDialog("https://localhost:3000", {
|
||||
console.log(error);
|
||||
dialog.close();
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user