Skip to content

Commit 1cd7e19

Browse files
committed
usingm es6 instead of es5
1 parent cbc98bd commit 1cd7e19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/renderer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export class PromisifiedIpcRenderer {
66
/**
77
* Sends a message on the given channel and returns a promise.
88
* The promise resolves or rejects when the main process answered.
9-
* @param channel The given channel to sned on.
9+
* @param channel The given channel to send on.
1010
* @param args The given arguments to send.
1111
*/
1212
public send(channel: string, ...args: any[]): Promise<any> {

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es5",
3+
"target": "es6",
44
"module": "commonjs",
55
"declaration": true,
66
"outDir": "./lib",

0 commit comments

Comments
 (0)