Skip to content

Conversation

@micahriggan
Copy link
Contributor

@micahriggan micahriggan commented Mar 18, 2019

Common Transformations

  1. Prototype => Class
- function Wallet () {}
- Wallet.prototype.method = function(arg) {}
+ class Wallet {
+ method(arg) {}
  1. Require() => Import
- const x = require('x');
+ import * as x from 'x'

@micahriggan micahriggan changed the title bws => ts WIP: bws => ts Mar 26, 2019
@micahriggan micahriggan changed the title WIP: bws => ts bws => ts Apr 1, 2019
@matiu
Copy link
Contributor

matiu commented Apr 1, 2019

great work!

@matiu matiu merged commit bcce98f into bitpay:master Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants