Skip to content

Commit

Permalink
fix(template): remove TS warning while scaffolding TS templates (#1664)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Lee <malept@users.noreply.github.com>
  • Loading branch information
deadcoder0904 and malept authored Aug 11, 2020
1 parent a6a65ca commit e447adc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/template/typescript-webpack/tmpl/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (require('electron-squirrel-startup')) { // eslint-disable-line global-requir
app.quit();
}

const createWindow = () => {
const createWindow = (): void => {
// Create the browser window.
const mainWindow = new BrowserWindow({
height: 600,
Expand Down
2 changes: 1 addition & 1 deletion packages/template/typescript/tmpl/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (require('electron-squirrel-startup')) { // eslint-disable-line global-requir
app.quit();
}

const createWindow = () => {
const createWindow = (): void => {
// Create the browser window.
const mainWindow = new BrowserWindow({
height: 600,
Expand Down

0 comments on commit e447adc

Please sign in to comment.