1///<reference path="ref.d.ts" /> 2 3// in the generated code a 'this' is added before this call 4M1.f1();