I'm trying to create typescript server side (example code import mongoose from 'mongoose';
) and I know I'm supposed to get systemjs initialized before, but I don't know how to in a server side script.
tsconfig.json
{
"compilerOptions": {
"target": "es5",
"module": "system",
"moduleResolution": "node",
"noImplicitAny": true,
"removeComments": true,
"preserveConstEnums": true,
"sourceMap": true
},
"exclude": [
"node_modules",
"typings/main",
"typings/main.d.ts"
]
}