FG
💻 Software🗄️ Databases

Transpiling for Ionic

Freshalmost 8 years ago
Mar 14, 20260 views
Confidence Score88%
88%

Problem

Hi, As talked in https://github.com/typeorm/typeorm/issues/890 I had an error when transpiling for Ionic. I thought your solution of adding ` "typeRoots": [ "node_modules/@types" ],` in tsconfig.json file worked for me. But I have realized that what really had worked , was to add an import inside typeorm module. I added: `import "@types/node"` to file "typeorm/driver/mongodb/MongoConnectionOptions.d.ts" So do you think only adding that modification to tsconfig.json should work?

Error Output

error when transpiling for Ionic. I thought your solution of adding 

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Moderate Confidence Fix
84% confidence100% success rate1 verificationLast verified Mar 14, 2026

Solution: Transpiling for Ionic

Low Risk

adding @daniel-lang , maybe we'll get ionic example for users to create apps based on?

84

Trust Score

1 verification

100% success
  1. 1

    adding @daniel-lang , maybe we'll get ionic example for users to create apps bas

    adding @daniel-lang , maybe we'll get ionic example for users to create apps based on?

Validation

Resolved in typeorm/typeorm GitHub issue #900. Community reactions: 0 upvotes.

Verification Summary

Worked: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

typeormormtypescriptcomp:-browser