@@ -154,46 +154,86 @@ interface String {
154
154
/**
155
155
* Returns an `<a>` HTML anchor element and sets the name attribute to the text value
156
156
* @param name
157
+ * @deprecated A legacy feature for browser compatibility
157
158
*/
158
159
anchor ( name : string ) : string ;
159
160
160
- /** Returns a `<big>` HTML element */
161
+ /**
162
+ * Returns a `<big>` HTML element
163
+ * @deprecated A legacy feature for browser compatibility
164
+ */
161
165
big ( ) : string ;
162
166
163
- /** Returns a `<blink>` HTML element */
167
+ /**
168
+ * Returns a `<blink>` HTML element
169
+ * @deprecated A legacy feature for browser compatibility
170
+ */
164
171
blink ( ) : string ;
165
172
166
- /** Returns a `<b>` HTML element */
173
+ /**
174
+ * Returns a `<bold>` HTML element
175
+ * @deprecated A legacy feature for browser compatibility
176
+ */
167
177
bold ( ) : string ;
168
178
169
- /** Returns a `<tt>` HTML element */
179
+ /**
180
+ * Returns a `<tt>` HTML element
181
+ * @deprecated A legacy feature for browser compatibility
182
+ */
170
183
fixed ( ) : string ;
171
184
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
+ */
173
189
fontcolor ( color : string ) : string ;
174
190
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
+ */
176
195
fontsize ( size : number ) : string ;
177
196
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
+ */
179
201
fontsize ( size : string ) : string ;
180
202
181
- /** Returns an `<i>` HTML element */
203
+ /**
204
+ * Returns a `<i>` HTML element
205
+ * @deprecated A legacy feature for browser compatibility
206
+ */
182
207
italics ( ) : string ;
183
208
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
+ */
185
213
link ( url : string ) : string ;
186
214
187
- /** Returns a `<small>` HTML element */
215
+ /**
216
+ * Returns a `<small>` HTML element
217
+ * @deprecated A legacy feature for browser compatibility
218
+ */
188
219
small ( ) : string ;
189
220
190
- /** Returns a `<strike>` HTML element */
221
+ /**
222
+ * Returns a `<strike>` HTML element
223
+ * @deprecated A legacy feature for browser compatibility
224
+ */
191
225
strike ( ) : string ;
192
226
193
- /** Returns a `<sub>` HTML element */
227
+ /**
228
+ * Returns a `<sub>` HTML element
229
+ * @deprecated A legacy feature for browser compatibility
230
+ */
194
231
sub ( ) : string ;
195
232
196
- /** Returns a `<sup>` HTML element */
233
+ /**
234
+ * Returns a `<sup>` HTML element
235
+ * @deprecated A legacy feature for browser compatibility
236
+ */
197
237
sup ( ) : string ;
198
238
}
199
239
// --------------------
@@ -639,47 +679,87 @@ interface RegExpConstructor {
639
679
//
640
680
// /**
641
681
// * Returns an `<a>` HTML anchor element and sets the name attribute to the text value
682
+ // * @deprecated A legacy feature for browser compatibility
642
683
// * @param name
643
684
// */
644
685
// anchor(name: string): string;
645
686
//
646
- // /** Returns a `<big>` HTML element */
687
+ // /**
688
+ // * Returns a `<big>` HTML element
689
+ // * @deprecated A legacy feature for browser compatibility
690
+ // */
647
691
// big(): string;
648
692
//
649
- // /** Returns a `<blink>` HTML element */
693
+ // /**
694
+ // * Returns a `<blink>` HTML element
695
+ // * @deprecated A legacy feature for browser compatibility
696
+ // */
650
697
// blink(): string;
651
698
//
652
- // /** Returns a `<b>` HTML element */
699
+ // /**
700
+ // * Returns a `<b>` HTML element
701
+ // * @deprecated A legacy feature for browser compatibility
702
+ // */
653
703
// bold(): string;
654
704
//
655
- // /** Returns a `<tt>` HTML element */
705
+ // /**
706
+ // * Returns a `<tt>` HTML element
707
+ // * @deprecated A legacy feature for browser compatibility
708
+ // */
656
709
// fixed(): string;
657
710
//
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
+ // */
659
715
// fontcolor(color: string): string;
660
716
//
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
+ // */
662
721
// fontsize(size: number): string;
663
722
//
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
+ // */
665
727
// fontsize(size: string): string;
666
728
//
667
- // /** Returns an `<i>` HTML element */
729
+ // /**
730
+ // * Returns an `<i>` HTML element
731
+ // * @deprecated A legacy feature for browser compatibility
732
+ // */
668
733
// italics(): string;
669
734
//
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
+ // */
671
739
// link(url: string): string;
672
740
//
673
- // /** Returns a `<small>` HTML element */
741
+ // /**
742
+ // * Returns a `<small>` HTML element
743
+ // * @deprecated A legacy feature for browser compatibility
744
+ // */
674
745
// small(): string;
675
746
//
676
- // /** Returns a `<strike>` HTML element */
747
+ // /**
748
+ // * Returns a `<strike>` HTML element
749
+ // * @deprecated A legacy feature for browser compatibility
750
+ // */
677
751
// strike(): string;
678
752
//
679
- // /** Returns a `<sub>` HTML element */
753
+ // /**
754
+ // * Returns a `<sub>` HTML element
755
+ // * @deprecated A legacy feature for browser compatibility
756
+ // */
680
757
// sub(): string;
681
758
//
682
- // /** Returns a `<sup>` HTML element */
759
+ // /**
760
+ // * Returns a `<sup>` HTML element
761
+ // * @deprecated A legacy feature for browser compatibility
762
+ // */
683
763
// sup(): string;
684
764
// }
685
765
0 commit comments