Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Commit 8bb0e9a

Browse files
SamChou19815facebook-github-bot
authored andcommitted
Delete unused property declarations in FbtResultBase
Reviewed By: panagosg7 Differential Revision: D46379282 fbshipit-source-id: 87849d13dec40812ccca85567abec28242771b6c
1 parent 73c4b49 commit 8bb0e9a

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

runtime/shared/FbtResultBase.js

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -28,47 +28,6 @@ class FbtResultBase implements IFbtResultBase {
2828
// munging will affect this access.
2929
__errorListener: ?IFbtErrorListener;
3030

31-
// Declare that we'll implement these methods
32-
anchor: $PropertyType<IFbtResultBase, 'anchor'>;
33-
big: $PropertyType<IFbtResultBase, 'big'>;
34-
blink: $PropertyType<IFbtResultBase, 'blink'>;
35-
bold: $PropertyType<IFbtResultBase, 'bold'>;
36-
charAt: $PropertyType<IFbtResultBase, 'charAt'>;
37-
charCodeAt: $PropertyType<IFbtResultBase, 'charCodeAt'>;
38-
codePointAt: $PropertyType<IFbtResultBase, 'codePointAt'>;
39-
contains: $PropertyType<IFbtResultBase, 'contains'>;
40-
endsWith: $PropertyType<IFbtResultBase, 'endsWith'>;
41-
fixed: $PropertyType<IFbtResultBase, 'fixed'>;
42-
fontcolor: $PropertyType<IFbtResultBase, 'fontcolor'>;
43-
fontsize: $PropertyType<IFbtResultBase, 'fontsize'>;
44-
includes: $PropertyType<IFbtResultBase, 'includes'>;
45-
indexOf: $PropertyType<IFbtResultBase, 'indexOf'>;
46-
italics: $PropertyType<IFbtResultBase, 'italics'>;
47-
lastIndexOf: $PropertyType<IFbtResultBase, 'lastIndexOf'>;
48-
link: $PropertyType<IFbtResultBase, 'link'>;
49-
localeCompare: $PropertyType<IFbtResultBase, 'localeCompare'>;
50-
match: $PropertyType<IFbtResultBase, 'match'>;
51-
normalize: $PropertyType<IFbtResultBase, 'normalize'>;
52-
repeat: $PropertyType<IFbtResultBase, 'repeat'>;
53-
replace: $PropertyType<IFbtResultBase, 'replace'>;
54-
search: $PropertyType<IFbtResultBase, 'search'>;
55-
slice: $PropertyType<IFbtResultBase, 'slice'>;
56-
small: $PropertyType<IFbtResultBase, 'small'>;
57-
split: $PropertyType<IFbtResultBase, 'split'>;
58-
startsWith: $PropertyType<IFbtResultBase, 'startsWith'>;
59-
strike: $PropertyType<IFbtResultBase, 'strike'>;
60-
sub: $PropertyType<IFbtResultBase, 'sub'>;
61-
substr: $PropertyType<IFbtResultBase, 'substr'>;
62-
substring: $PropertyType<IFbtResultBase, 'substring'>;
63-
sup: $PropertyType<IFbtResultBase, 'sup'>;
64-
toLocaleLowerCase: $PropertyType<IFbtResultBase, 'toLocaleLowerCase'>;
65-
toLocaleUpperCase: $PropertyType<IFbtResultBase, 'toLocaleUpperCase'>;
66-
toLowerCase: $PropertyType<IFbtResultBase, 'toLowerCase'>;
67-
toUpperCase: $PropertyType<IFbtResultBase, 'toUpperCase'>;
68-
trim: $PropertyType<IFbtResultBase, 'trim'>;
69-
trimLeft: $PropertyType<IFbtResultBase, 'trimLeft'>;
70-
trimRight: $PropertyType<IFbtResultBase, 'trimRight'>;
71-
7231
constructor(
7332
contents: $NestedFbtContentItems,
7433
errorListener: ?IFbtErrorListener,

0 commit comments

Comments
 (0)