mirror of
https://github.com/electron/electron.git
synced 2026-01-27 16:28:23 -05:00
* chore: tsify more of lib * Update lib/browser/api/session.ts Co-authored-by: Jeremy Apthorp <jeremya@chromium.org> Co-authored-by: Jeremy Apthorp <jeremya@chromium.org>
9 lines
160 B
TypeScript
9 lines
160 B
TypeScript
const { fromPartition } = process.electronBinding('session');
|
|
|
|
export default {
|
|
fromPartition,
|
|
get defaultSession () {
|
|
return fromPartition('');
|
|
}
|
|
};
|