Skip to content

typescript miscompilation error when trying to run "demo-app" task  #2134

@shootermv

Description

@shootermv

Bug:

expected - the demo app to run

current behavior -
geting error:
Unable to compile TypeScript
tools/gulp/tasks/release.ts (52,10): Type 'Promise<{}>' is not assignable to type 'Promise'

steps to reproduce:
open terminal in root directory of project and run "npm run demo-app"

proposition for fix:
replace following line (tools/gulp/tasks/release.ts (52,10)):
"function _execNpmPublish(label: string): Promise< void > {"
with:
"function _execNpmPublish(label: string): Promise<{}> {"

I'm newbie, so i guess there may be some more elegant solutions...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions