yjh

Results 70 issues of yjh

What does the safe version refer to here? Is it similar to checked_op in rust? It seems that it is more convenient to introduce an Option, and in this case,...

question

Should the generated code use the parser to parse the new text instead of modifying the AST? Because the range field of the original code cannot locate the newly generated...

question

enhancement
good first issue

I use `Array` as a value. But The uint8Array is treated as string. ```js function arrayString(val) { var result = '{' for (var i = 0; i < val.length; i++)...

bug
good first issue

I found that some operations are very expensive about mem alloc when string(bytes). Such as: ![image](https://user-images.githubusercontent.com/16250688/99495362-7e4d2c80-29ad-11eb-8e0c-c0713abca4cd.png) So I try to reuse some mems by using unsafe.

```ts interface Foo { foo(): void } class Bar implements Foo { foo(): void {} } let bar: Foo = new Bar; ``` It works.

enhancement

It seems there is no way to pass args to control the behaviors of transform hooks. Has any plan to support it ? Or any other instead way to do...

enhancement

Support #1873. I found that the most convenient implementation at present is to implement it as `AfterEmit`. The transform author can generate some custom files based on the output files,...