fix typo in clientEngine option by raju-opti · Pull Request #1095 · optimizely/javascript-sdk

Pull Request Overview

This PR fixes a typo in the Node.js implementation where clientEnging was misspelled instead of clientEngine, and adds proper TypeScript typing by importing and using the OptimizelyFactoryConfig type.

  • Fixed typo: clientEngingclientEngine in the Node.js configuration
  • Added proper TypeScript typing for configuration objects in both React Native and Node.js implementations
  • Imported OptimizelyFactoryConfig type to ensure type safety

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
lib/index.react_native.ts Added OptimizelyFactoryConfig import and type annotation for rnConfig
lib/index.node.ts Added OptimizelyFactoryConfig import, type annotation for nodeConfig, and fixed clientEnging typo

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.