Skip to content

Decorator breaks HRM with error: Unable to delete property #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kuriel-dev opened this issue Sep 2, 2018 · 0 comments
Open

Decorator breaks HRM with error: Unable to delete property #78

kuriel-dev opened this issue Sep 2, 2018 · 0 comments

Comments

@kuriel-dev
Copy link

kuriel-dev commented Sep 2, 2018

how to reproduce:

clone this repo
https://github.com/dalcib/expo-ts-example

add class:

export function deco(target: Object, propertyKey: string | symbol) {
console.log(target);console.log(propertyKey);
}

In "/src/App.tsx"
add a property with above decorator

image

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

No branches or pull requests

1 participant