
* 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>
8 lines
160 B
TypeScript
8 lines
160 B
TypeScript
const { fromPartition } = process.electronBinding('session');
|
|
|
|
export default {
|
|
fromPartition,
|
|
get defaultSession () {
|
|
return fromPartition('');
|
|
}
|
|
};
|