Skip to content

errors when running tsc --experimentalDecorators #1

@Geraldf

Description

@Geraldf

Hi,

when running "tsc --experimentalDecorators" I do get a view errors. I have no idea how to solve them.

src/services/appointmentsservice.ts(6,36): error TS2339: Property 'calendar' does not exist on type 'typeof client'.
src/services/authenticationservice.ts(34,11): error TS2339: Property 'fetch' does not exist on type 'Window'.
src/services/authenticationservice.ts(87,12): error TS2345: Argument of type 'void' is not assignable to parameter of type '{} | Thenable<{}>'.
  Type 'void' is not assignable to type 'Thenable<{}>'.
src/services/authenticationservice.ts(94,12): error TS2345: Argument of type 'void' is not assignable to parameter of type '{} | Thenable<{}>'.
  Type 'void' is not assignable to type 'Thenable<{}>'.
src/services/authenticationservice.ts(101,24): error TS2339: Property 'plus' does not exist on type 'typeof client'.
/u

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions