Parcourir la source

Fix docs example

YouTwitFace il y a 5 ans
Parent
commit
e51cfce28c
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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) {