소스 검색

Fix docs example

YouTwitFace 5 년 전
부모
커밋
e51cfce28c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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) {