Property 'decorate' does not exist on type 'typeof Reflect'. (2339)

See original GitHub issue

Trying to set this whole thing up using Angular-CLI and protractor and cucumber and TypeScript.

I have my steps file there and it seems to be looking at it, but now I get this error

Property 'decorate' does not exist on type 'typeof Reflect'. (2339)

It’s a very simple test. I get the error 3 times. Seems to correlate with the method decorators

protractor-cucumber-framework@1.0.1 protractor@5.1.1 @angular@2.4.9 ts-node@2.1.0 cucumber@1.3.1 typescript@2.0.10

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
iliyaZelenkocommented, Nov 24, 2018

I was helped by the installation package for babel: @babel/preset-typescript.

0reactions
Taewacommented, Mar 18, 2021

Hi @iliyaZelenko Could you tell me how you applied babel with cucumber-ts-flow?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Property 'getMetadata' does not exist on type 'typeof Reflec
I want to use the Reflect to get a ...
Read more >
Documentation - Decorators - TypeScript
A Decorator is a special kind of declaration that can be attached to a class declaration, method, accessor, property, or parameter. Decorators use...
Read more >
Using the Reflection and Reflection Metadata APIs with ...
error TS2339 : Property 'getOwnMetadataKeys' does not exist on type 'typeof Reflect'. Once you make sure to import that package, the output ...
Read more >
sequelize-typescript - npm
The model needs to extend the Model class and has to be annotated with the @Table decorator. All properties that should appear as...
Read more >
does not exist on type 'typeof import - You.com | The AI Search ...
This happens because when you start the application, The server is actually serving the bundles(JavaScript/CSS/HTML... output files) stored in the dist folder.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found