Skip to content

Commit 4034c7d

Browse files
authored
update: Updated typescript type specifications to use browser entry point (#754)
## Summary Some application were having a hard time finding `http` module being used in the node entry point. Changed the type specifications to point to browser entry point. ## Test plan All existing tests pass ## Issues #686
1 parent aa11535 commit 4034c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/optimizely-sdk/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"main": "dist/optimizely.node.min.js",
77
"browser": "dist/optimizely.browser.min.js",
88
"react-native": "dist/optimizely.react_native.min.js",
9-
"typings": "dist/index.node.d.ts",
9+
"typings": "dist/index.browser.d.ts",
1010
"scripts": {
1111
"clean": "rm -rf dist",
1212
"lint": "tsc --noEmit && eslint 'lib/**/*.js' 'lib/**/*.ts'",

0 commit comments

Comments
 (0)