Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit e51144c

Browse files
committedMay 28, 2019
fix: sanity check errors for new versions
1 parent dd5a711 commit e51144c

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed
 

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
"@types/react": "^16.8.18",
9595
"@types/react-dom": "^16.8.4",
9696
"@types/react-test-renderer": "^16.8.1",
97+
"@types/semver": "^6.0.0",
9798
"@types/storybook__react": "^4.0.1",
9899
"babel-loader": "^8.0.6",
99100
"babel-preset-react": "^6.24.1",

‎src/main-window/main-window.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function createMainWindow(appPath: string, showDelay: number = 100) {
2929
y: windowState.y,
3030
show: false,
3131
useContentSize: true,
32-
titleBarStyle: "hidden-inset",
32+
titleBarStyle: "hiddenInset",
3333
autoHideMenuBar: true,
3434
// backgroundColor: '#fff',
3535
vibrancy: "light",

‎src/views/theme/styles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ const flexbox = {
2020

2121
const electron = {
2222
/** Enable window dragging. */
23-
windowDrag: cssProps({ WebkitAppRegion: "drag" }),
23+
windowDrag: cssProps({ ["WebkitAppRegion" as any]: "drag" }),
2424

2525
/** Disable window dragging. */
26-
noWindowDrag: cssProps({ WebkitAppRegion: "no-drag" }),
26+
noWindowDrag: cssProps({ ["WebkitAppRegion" as any]: "no-drag" }),
2727
}
2828

2929
/**

‎yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,6 +1768,11 @@
17681768
"@types/prop-types" "*"
17691769
csstype "^2.2.0"
17701770

1771+
"@types/semver@^6.0.0":
1772+
version "6.0.0"
1773+
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-6.0.0.tgz#86ba89f02a414e39c68d02b351872e4ed31bd773"
1774+
integrity sha512-OO0srjOGH99a4LUN2its3+r6CBYcplhJ466yLqs+zvAWgphCpS8hYZEZ797tRDP/QKcqTdb/YCN6ifASoAWkrQ==
1775+
17711776
"@types/stack-utils@^1.0.1":
17721777
version "1.0.1"
17731778
resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e"

0 commit comments

Comments
 (0)