Skip to content

Update runtime.d.ts & templates#1421

Merged
leaanthony merged 1 commit into
wailsapp:masterfrom
yz4230:master
May 24, 2022
Merged

Update runtime.d.ts & templates#1421
leaanthony merged 1 commit into
wailsapp:masterfrom
yz4230:master

Conversation

@yz4230
Copy link
Copy Markdown
Contributor

@yz4230 yz4230 commented May 23, 2022

Changes

Update window.runtime.Environment type

Before:

export function Environment(): EnvironmentInfo;

After:

export function Environment(): Promise<EnvironmentInfo>;

Description

runtime.Environment will returns Promise
Screen Shot 2022-05-23 at 16 48 25

@yz4230 yz4230 marked this pull request as draft May 23, 2022 07:50
@yz4230 yz4230 marked this pull request as ready for review May 23, 2022 07:50
@leaanthony leaanthony enabled auto-merge (squash) May 23, 2022 10:15
Copy link
Copy Markdown
Contributor

@stffabi stffabi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much @yz4230 for fixing this. LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants