Closed jafri closed 2 years ago
Yes, you are right. Help me fix it if you can.
On Feb 20, 2022, at 2:54 PM, Syed Jafri @.***> wrote:
Currently a few type-checking errors pop up:
Cannot find name 'contract'.ts(2304) This could be fixed by exporting stub functions for decorators like:
function contract(: string): any {} function action(: string): any {} function table(_: string): any {} Another type-checking error that pops up while developing is:
Type 'AccountsTable' does not satisfy the constraint 'MultiIndexValue'.ts(2344) This is because the rest of the fields are only added as part of the extension after processing, perhaps the other fields for MultiIndexValue should become optional
— Reply to this email directly, view it on GitHub https://github.com/uuosio/ascdk/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPJSPT7ZEL2CQOS64SAGR3U4CF4FANCNFSM5O4AQVAQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.
@learnforpractice do you know how to make Cannot find name 'u64'
type errors go away while developing for AS?
Nope.
On Feb 20, 2022, at 3:32 PM, Syed Jafri @.***> wrote:
@learnforpractice https://github.com/learnforpractice do you know how to make Cannot find name 'u64' type errors go away while developing for AS?
— Reply to this email directly, view it on GitHub https://github.com/uuosio/ascdk/issues/10#issuecomment-1046180343, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPJSPWQZV4CB3I5SDQARY3U4CKJFANCNFSM5O4AQVAQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.
I found an AssemblyScript plugin for VSCode:
https://marketplace.visualstudio.com/items?itemName=saulecabrera.asls
I found an AssemblyScript plugin for VSCode:
https://marketplace.visualstudio.com/items?itemName=saulecabrera.asls
This plugin is not working on Mac OSX platform due to the following issue:
@learnforpractice is this right?
The main type issues at the moment are MultiIndexValue
, Packer
, and .new
(on MultiIndexValue through Tpl)
Should be fixed by 4813106a913009757bf72993c899d9340f08fe5a
Currently a few type-checking errors pop up:
This could be fixed by exporting stub functions for decorators like:
Another type-checking error that pops up while developing is:
This is because the rest of the fields are only added as part of the extension after processing, perhaps the other fields for MultiIndexValue should become optional