You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
am getting this error on tsdx build
src/index.tsx(6,9): semantic error TS2339: Property 'init' does not exist on type 'typeof import("../node_modules/i18next/index")'.
I checked /node_modules/i18next/ -> the 'init' is exported in index.d.ts.
as you can see in https://github.com/i18next/i18next/blob/master/index.d.ts line 1234
npm run build
(typescript) Error: C:/DEV/mylib/src/index.tsx(6,9): semantic error TS2339: Property 'init' does not exist on type 'typeof import("C:/DEV/mylib/node_modules/i18next/index")'.
The text was updated successfully, but these errors were encountered:
Hi,
am getting this error on tsdx build
src/index.tsx(6,9): semantic error TS2339: Property 'init' does not exist on type 'typeof import("../node_modules/i18next/index")'.
I checked /node_modules/i18next/ -> the 'init' is exported in index.d.ts.
as you can see in
https://github.com/i18next/i18next/blob/master/index.d.ts line 1234
Steps:
npx tsdx create mylib
cd mylib
npm install i18next -save
index.tsx
npm run build
(typescript) Error: C:/DEV/mylib/src/index.tsx(6,9): semantic error TS2339: Property 'init' does not exist on type 'typeof import("C:/DEV/mylib/node_modules/i18next/index")'.
The text was updated successfully, but these errors were encountered: