3
0
mirror of https://github.com/danielsogl/awesome-cordova-plugins.git synced 2025-04-20 08:48:39 +08:00
2021-09-27 22:09:05 +02:00

3 lines
194 B
JavaScript

// removes the __extends method that is added automatically by typescript
module.exports = (source) => source.replace(/var\s__extends\s=\s\(this\s&&[\sa-z\._\(\)\|{}=:\[\]&,;?]+}\)\(\);/i, '');