Browse Source

Fix docs example

YouTwitFace 5 years ago
parent
commit
e51cfce28c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      gramjs_generator/parsers/tlobject/tlobject.js

+ 1 - 0
gramjs_generator/parsers/tlobject/tlobject.js

@@ -148,6 +148,7 @@ class TLObject {
     }
 
     asExample(f, indent) {
+        f.write('<strong>new</strong> ');
         f.write(this.isFunction ? 'functions' : 'types');
 
         if (this.namespace) {