Skip to content

Can't build project locally due to Promise.finally with es2017 #812

Description

@jadejr

Describe the bug
When checking out the project locally and running npm run build it fails with:

rc/timeout.ts:8:6 - error TS2550: Property 'finally' does not exist on type 'Promise<unknown>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2018' or later.

To Reproduce
Steps to reproduce the behavior:

  1. run npm run build

Expected behavior
The build to succeed

Plugin version:

  • @capacitor-community/bluetooth-le as of 273e4c1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions