anchor.diff:  
      let apiType = 
         ProvidedTypeDefinition(thisAssembly, rootNamespace, "Api", None)
  -       
  +
      do apiType.IsErased <- false
      do apiType.DefineStaticParameters(
            parameters = staticParams,
  
positive.code:                rootType.AddInterfaceImplementation typeof<FunJS.IJSRoot>
                 rootType.AddInterfaceImplementation typeof<FunJS.IJSMapping>
                 //System.Diagnostics.Debugger.Break()
                 try TypeGenerator.generateFrom typeScriptFile rootType
                 with ex -> failwithf "Failed to generate TypeScript mapping: %s\n%s" ex.Message ex.StackTrace
                 let path = System.IO.Path.GetTempFileName() + ".dll"
                 rootType.ConvertToGenerated path
  
negative.code:                let path = names |> String.concat "."
                 addTypes t obtainDef [DeclareModule(path, declarations)]
              next()
  
                
     /// Open a file from file system or from the web in a type provider context
     /// (File may be relative to the type provider resolution folder and web
     /// resources must start with 'http://' prefix)
     let openFileOrUri resolutionFolder (fileName:string) =
        if fileName.StartsWith("http://", StringComparison.InvariantCultureIgnoreCase) then
           let req = System.Net.WebRequest.Create(Uri(fileName))
           let resp = req.GetResponse() 
           new StreamReader(resp.GetResponseStream())
        else
           // If the second path is absolute, Path.Combine returns it without change
           let file = Path.Combine(resolutionFolder, fileName)
           new StreamReader(file)
         
  
     let generateFrom (resolutionFolder:string) (typeScriptFile:string) (root:ProvidedTypeDefinition) =
        let created = Dictionary()
        let count = ref 0
  
  