mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
296 B
TypeScript
18 lines
296 B
TypeScript
import activeWin = require('active-win');
|
|
|
|
// $ExpectType Promise<Result>
|
|
activeWin();
|
|
// $ExpectType Result
|
|
activeWin.sync();
|
|
|
|
let win = {
|
|
title: 'Unicorns - Google Search',
|
|
id: 5762,
|
|
owner: {
|
|
name: 'Google Chrome',
|
|
processId: 310,
|
|
},
|
|
};
|
|
|
|
win = activeWin.sync();
|