7 lines
		
	
	
		
			No EOL
		
	
	
		
			234 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			No EOL
		
	
	
		
			234 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import {ipcRenderer, contextBridge} from 'electron';
 | 
						|
 | 
						|
contextBridge.exposeInMainWorld('electron',{
 | 
						|
    passwordReset:async (username:string,toPw:string)=>{
 | 
						|
        return await ipcRenderer.invoke('reset_password',username,toPw);
 | 
						|
}
 | 
						|
}); |