diff --git a/packages/@stylexjs/babel-plugin/__tests__/transform-stylex-props-test.js b/packages/@stylexjs/babel-plugin/__tests__/transform-stylex-props-test.js index f6f2943b9..148f7e6c2 100644 --- a/packages/@stylexjs/babel-plugin/__tests__/transform-stylex-props-test.js +++ b/packages/@stylexjs/babel-plugin/__tests__/transform-stylex-props-test.js @@ -3385,7 +3385,7 @@ describe('@stylexjs/babel-plugin', () => { `); }); - test('hoisting correctly with duplicte names', () => { + test('hoisting correctly with duplicate names', () => { expect( transform( ` diff --git a/packages/@stylexjs/babel-plugin/src/visitors/parse-stylex-create-arg.js b/packages/@stylexjs/babel-plugin/src/visitors/parse-stylex-create-arg.js index 7ae710d97..810901116 100644 --- a/packages/@stylexjs/babel-plugin/src/visitors/parse-stylex-create-arg.js +++ b/packages/@stylexjs/babel-plugin/src/visitors/parse-stylex-create-arg.js @@ -275,7 +275,7 @@ function evaluateObjKey( } else if (keyPath.isIdentifier()) { key = keyPath.node.name; } else { - // TODO: This is'nt handling all possible types that `keyPath` could be + // TODO: This isn't handling all possible types that `keyPath` could be key = (keyPath.node as $FlowFixMe).value; } return {