Closed ronanru closed 4 months ago
When I used the scaffold script to generate files for the array.prototype.map package, it added this line to index.js
array.prototype.map
index.js
import array.prototype.map from './array.prototype.map/index.js';
This PR fixes this. Now the generated code is valid js.
import arrayPrototypeMap from './array.prototype.map/index.js';
Good catch, thanks :)
When I used the scaffold script to generate files for the
array.prototype.map
package, it added this line toindex.js
This PR fixes this. Now the generated code is valid js.