mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Update ExcelApi 1.7
This commit is contained in:
Vendored
+2433
-718
File diff suppressed because it is too large
Load Diff
@@ -316,3 +316,21 @@ async function test_interfaces() {
|
||||
range.set(rangeSettables);
|
||||
});
|
||||
}
|
||||
|
||||
async function testResumeExistingObject () {
|
||||
let range: Excel.Range;
|
||||
await Excel.run(async context => {
|
||||
range = context.workbook.getSelectedRange();
|
||||
await context.sync();
|
||||
});
|
||||
|
||||
await Excel.run(range, async context => {
|
||||
range.clear();
|
||||
await context.sync();
|
||||
});
|
||||
|
||||
await Excel.run({delayForCellEdit: true, previousObjects: range}, async context => {
|
||||
range.clear();
|
||||
await context.sync();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user