sunfmin / notebook

My Note Book
2 stars 0 forks source link

Cannot redeclare block-scoped variable 'x'.' at: '1,5' source: 'ts' #26

Open sunfmin opened 7 years ago

sunfmin commented 7 years ago

snip20170720_7

snip20170720_8

the solution: https://stackoverflow.com/questions/40900791/cannot-redeclare-block-scoped-variable-in-unrelated-files

Add

export {}

to the end of the file.