Skip to content

Commit

Permalink
Remove Dead Code in WWW JS
Browse files Browse the repository at this point in the history
Reviewed By: kevincfz

Differential Revision: D47222796

fbshipit-source-id: 1688d100810b8a981fba142afcb8c09e13a72d25
  • Loading branch information
generatedunixname89002005279527 authored and facebook-github-bot committed Jul 5, 2023
1 parent 063beaa commit 866f4c3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 28 deletions.
3 changes: 0 additions & 3 deletions flow-types/nonfb/libdef/flow-typed/jest_v24.x.x.js
Original file line number Diff line number Diff line change
Expand Up @@ -1096,10 +1096,7 @@ type JestPrettyFormatColors = {
};

type JestPrettyFormatIndent = string => string;
type JestPrettyFormatRefs = Array<any>;
type JestPrettyFormatPrint = any => string;
type JestPrettyFormatStringOrNull = string | null;

type JestPrettyFormatOptions = {|
callToJSON: boolean,
edgeSpacing: string,
Expand Down
17 changes: 0 additions & 17 deletions packages/babel-plugin-fbt/src/fbt-nodes/FbtNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,23 +250,6 @@ class FbtNode<
*/
initCheck(): void {}

_clone(): this {
const {constructor: Constructor} = this;
return new Constructor({
children: this.children,
moduleName: this.moduleName,
node: this.node,
parent: this.parent,
});
}

_setStringVariationValues(
variationFactorValues: $ReadOnlyArray<SVArgument>,
): this {
this._variationFactorValues = variationFactorValues;
return this;
}

setParent(parent: ?AnyFbtNode): this {
// $FlowExpectedError[cannot-write] Allow writing this property internally
this.parent = parent;
Expand Down
8 changes: 0 additions & 8 deletions packages/babel-plugin-fbt/src/fbt-nodes/FbtPluralNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,6 @@ class FbtPluralNode extends FbtNode<
return callArg0.value;
}

_getValueNode(): BabelNode {
throw errorAt(this.node, 'not implemented yet');
}

_getCountNode(): BabelNode {
throw errorAt(this.node, 'not implemented yet');
}

getArgsForStringVariationCalc(): $ReadOnlyArray<NumberStringVariationArg> {
return [
new NumberStringVariationArg(this, this.options.count, [
Expand Down

0 comments on commit 866f4c3

Please sign in to comment.