You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR AS200: Conversion from type 'i32' to 'u16' requires an explicit cast.
let value: u16 = color.charCodeAt(i);
~~~~~~~~~~~~~~~~~~~
in assembly/__tests__/ColorParseOperation.spec.ts(8,23)
In the index.d.ts file, it's marked at u16 as I think it should be, but the implementation likely has an i32 output, which is currently unexpected.
declareclassString{charCodeAt(index: u32): u16;}
I can't submit a pull request right this second, but if nobody makes it by the end of tonight, I can probably get around to this.
The question is, what needs to be done?
The text was updated successfully, but these errors were encountered:
jtenner
changed the title
Types documentation and implementation mismatch for string#charCodeAt()
[Bug?] Types documentation and implementation mismatch for string#charCodeAt()
Jun 20, 2019
In the index.d.ts file, it's marked at
u16
as I think it should be, but the implementation likely has ani32
output, which is currently unexpected.I can't submit a pull request right this second, but if nobody makes it by the end of tonight, I can probably get around to this.
The question is, what needs to be done?
The text was updated successfully, but these errors were encountered: