Urigo / angular-meteor-base

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2 errors on typings.d.ts with Atom and atom-typescript

Jakino opened this issue · comments

ide: ATOM 1.12.7
Package: atom-typescript 10.1.13
Os : ubuntu 16.10

file: angular2-meteor-base/typings.d.ts

line 3 /// <reference types="@types/underscore" />
error: Cannot find type definition file for '@types/underscore'

line 36 stub(collection: Mongo.Collection);
error: Generic type 'Collection' requires 1 type argument(s)

my tsconfig.json

{
"atom": {
"rewriteTsconfig": true
},
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
"lib": [
"es6",
"dom"
],
"emitDecoratorMetadata": true,
"sourceMap": true
},
"exclude": [
"node_modules"
],
"files": [
"both/collections/demo.collection.ts",
"both/models/demo.model.ts",
"client/imports/app/app.component.ts",
"client/imports/app/app.module.ts",
"client/imports/app/demo/demo-data.service.test.ts",
"client/imports/app/demo/demo-data.service.ts",
"client/imports/app/demo/demo.component.test.ts",
"client/imports/app/demo/demo.component.ts",
"client/imports/app/index.ts",
"client/lib/init.test.ts",
"client/main.ts",
"server/imports/server-main/main.test.ts",
"server/imports/server-main/main.ts",
"server/main.ts",
"typings.d.ts"
],
"filesGlob": [
"**/*.ts"
],
"compileOnSave": false,
"buildOnSave": false,
"angularCompilerOptions": {
"genDir": "aot",
"skipMetadataEmit": true
}
}

Fixed in the recent commit. please try with a clean copy of the repository, and make sure to reinstall node_modules.

@Jakino can you open on a new issue?