ds300 / react-native-typescript-transformer

Seamlessly use TypeScript with React Native
MIT License
657 stars 55 forks source link

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

Open ningacoding opened 5 years ago

ningacoding commented 5 years ago

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