typedelectron/ts_web/plugins.ts

16 lines
324 B
TypeScript
Raw Normal View History

2023-12-06 01:16:36 +00:00
// @api.global scope
import * as typedrequest from '@api.global/typedrequest';
import * as typedrequestInterfaces from '@api.global/typedrequest-interfaces';
export {
typedrequest,
typedrequestInterfaces,
}
// electron through preload script
const electronApi = (window as any).electronApi;
export {
electronApi,
}