@@ -154,46 +154,86 @@ interface String {
154154 /**
155155 * Returns an `<a>` HTML anchor element and sets the name attribute to the text value
156156 * @param name
157+ * @deprecated A legacy feature for browser compatibility
157158 */
158159 anchor ( name : string ) : string ;
159160
160- /** Returns a `<big>` HTML element */
161+ /**
162+ * Returns a `<big>` HTML element
163+ * @deprecated A legacy feature for browser compatibility
164+ */
161165 big ( ) : string ;
162166
163- /** Returns a `<blink>` HTML element */
167+ /**
168+ * Returns a `<blink>` HTML element
169+ * @deprecated A legacy feature for browser compatibility
170+ */
164171 blink ( ) : string ;
165172
166- /** Returns a `<b>` HTML element */
173+ /**
174+ * Returns a `<bold>` HTML element
175+ * @deprecated A legacy feature for browser compatibility
176+ */
167177 bold ( ) : string ;
168178
169- /** Returns a `<tt>` HTML element */
179+ /**
180+ * Returns a `<tt>` HTML element
181+ * @deprecated A legacy feature for browser compatibility
182+ */
170183 fixed ( ) : string ;
171184
172- /** Returns a `<font>` HTML element and sets the color attribute value */
185+ /**
186+ * Returns a `<font>` HTML element and sets the color attribute value
187+ * @deprecated A legacy feature for browser compatibility
188+ */
173189 fontcolor ( color : string ) : string ;
174190
175- /** Returns a `<font>` HTML element and sets the size attribute value */
191+ /**
192+ * Returns a `<font>` HTML element and sets the size attribute value
193+ * @deprecated A legacy feature for browser compatibility
194+ */
176195 fontsize ( size : number ) : string ;
177196
178- /** Returns a `<font>` HTML element and sets the size attribute value */
197+ /**
198+ * Returns a `<font>` HTML element and sets the size attribute value
199+ * @deprecated A legacy feature for browser compatibility
200+ */
179201 fontsize ( size : string ) : string ;
180202
181- /** Returns an `<i>` HTML element */
203+ /**
204+ * Returns a `<i>` HTML element
205+ * @deprecated A legacy feature for browser compatibility
206+ */
182207 italics ( ) : string ;
183208
184- /** Returns an `<a>` HTML element and sets the href attribute value */
209+ /**
210+ * Returns an `<a>` HTML element and sets the href attribute value
211+ * @deprecated A legacy feature for browser compatibility
212+ */
185213 link ( url : string ) : string ;
186214
187- /** Returns a `<small>` HTML element */
215+ /**
216+ * Returns a `<small>` HTML element
217+ * @deprecated A legacy feature for browser compatibility
218+ */
188219 small ( ) : string ;
189220
190- /** Returns a `<strike>` HTML element */
221+ /**
222+ * Returns a `<strike>` HTML element
223+ * @deprecated A legacy feature for browser compatibility
224+ */
191225 strike ( ) : string ;
192226
193- /** Returns a `<sub>` HTML element */
227+ /**
228+ * Returns a `<sub>` HTML element
229+ * @deprecated A legacy feature for browser compatibility
230+ */
194231 sub ( ) : string ;
195232
196- /** Returns a `<sup>` HTML element */
233+ /**
234+ * Returns a `<sup>` HTML element
235+ * @deprecated A legacy feature for browser compatibility
236+ */
197237 sup ( ) : string ;
198238}
199239// --------------------
@@ -639,47 +679,87 @@ interface RegExpConstructor {
639679//
640680// /**
641681// * Returns an `<a>` HTML anchor element and sets the name attribute to the text value
682+ // * @deprecated A legacy feature for browser compatibility
642683// * @param name
643684// */
644685// anchor(name: string): string;
645686//
646- // /** Returns a `<big>` HTML element */
687+ // /**
688+ // * Returns a `<big>` HTML element
689+ // * @deprecated A legacy feature for browser compatibility
690+ // */
647691// big(): string;
648692//
649- // /** Returns a `<blink>` HTML element */
693+ // /**
694+ // * Returns a `<blink>` HTML element
695+ // * @deprecated A legacy feature for browser compatibility
696+ // */
650697// blink(): string;
651698//
652- // /** Returns a `<b>` HTML element */
699+ // /**
700+ // * Returns a `<b>` HTML element
701+ // * @deprecated A legacy feature for browser compatibility
702+ // */
653703// bold(): string;
654704//
655- // /** Returns a `<tt>` HTML element */
705+ // /**
706+ // * Returns a `<tt>` HTML element
707+ // * @deprecated A legacy feature for browser compatibility
708+ // */
656709// fixed(): string;
657710//
658- // /** Returns a `<font>` HTML element and sets the color attribute value */
711+ // /**
712+ // * Returns a `<font>` HTML element and sets the color attribute value
713+ // * @deprecated A legacy feature for browser compatibility
714+ // */
659715// fontcolor(color: string): string;
660716//
661- // /** Returns a `<font>` HTML element and sets the size attribute value */
717+ // /**
718+ // * Returns a `<font>` HTML element and sets the size attribute value
719+ // * @deprecated A legacy feature for browser compatibility
720+ // */
662721// fontsize(size: number): string;
663722//
664- // /** Returns a `<font>` HTML element and sets the size attribute value */
723+ // /**
724+ // * Returns a `<font>` HTML element and sets the size attribute value
725+ // * @deprecated A legacy feature for browser compatibility
726+ // */
665727// fontsize(size: string): string;
666728//
667- // /** Returns an `<i>` HTML element */
729+ // /**
730+ // * Returns an `<i>` HTML element
731+ // * @deprecated A legacy feature for browser compatibility
732+ // */
668733// italics(): string;
669734//
670- // /** Returns an `<a>` HTML element and sets the href attribute value */
735+ // /**
736+ // * Returns an `<a>` HTML element and sets the href attribute value
737+ // * @deprecated A legacy feature for browser compatibility
738+ // */
671739// link(url: string): string;
672740//
673- // /** Returns a `<small>` HTML element */
741+ // /**
742+ // * Returns a `<small>` HTML element
743+ // * @deprecated A legacy feature for browser compatibility
744+ // */
674745// small(): string;
675746//
676- // /** Returns a `<strike>` HTML element */
747+ // /**
748+ // * Returns a `<strike>` HTML element
749+ // * @deprecated A legacy feature for browser compatibility
750+ // */
677751// strike(): string;
678752//
679- // /** Returns a `<sub>` HTML element */
753+ // /**
754+ // * Returns a `<sub>` HTML element
755+ // * @deprecated A legacy feature for browser compatibility
756+ // */
680757// sub(): string;
681758//
682- // /** Returns a `<sup>` HTML element */
759+ // /**
760+ // * Returns a `<sup>` HTML element
761+ // * @deprecated A legacy feature for browser compatibility
762+ // */
683763// sup(): string;
684764// }
685765
0 commit comments