These are chat archives for AngularClass/angular2-webpack-starter

26th
Jul 2016
Pei-Tang Huang
@tan9
Jul 26 2016 00:43
@BioSin you can issue a PR to https://github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0 directly. The @types defitions was forked from an earlier DefinitelyTyped master branch.
Jamie Spittal
@Spittal
Jul 26 2016 15:59
Has anyone found a solution to this using unit testing?
AngularClass/angular2-webpack-starter#796
vivek tiwary
@vivdkool
Jul 26 2016 16:37
@mhheise i updated to 2016.2 and went through the step which you mentioned to sert typescript to node modules but no luck number of error increase to this /Users/vitiwary/Documents/workSpaces/ise_scale_poc/ISE_SPOG_WP/node_modules/@types/core-js/index.d.ts
Error:(21, 14) TS2300: Duplicate identifier 'PropertyKey'.
Error:(58, 5) TS2687: All declarations of 'name' must have identical modifiers.
Error:(118, 5) TS2403: Subsequent variable declarations must have the same type. Variable '[Symbol.unscopables]' must be of type '{ copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: ...', but here has type 'any'.
Error:(235, 5) TS2687: All declarations of 'flags' must have identical modifiers.
Error:(249, 5) TS2687: All declarations of 'EPSILON' must have identical modifiers.
Error:(284, 5) TS2687: All declarations of 'MAX_SAFE_INTEGER' must have identical modifiers.
Error:(291, 5) TS2687: All declarations of 'MIN_SAFE_INTEGER' must have identical modifiers.
Error:(430, 5) TS2403: Subsequent variable declarations must have the same type. Variable '[Symbol.toStringTag]' must be of type '"Symbol"', but here has type 'string'.
Error:(430, 5) TS2687: All declarations of '[Symbol.toStringTag]' must have identical modifiers.
Error:(437, 5) TS2687: All declarations of 'prototype' must have identical modifiers.
Error:(465, 5) TS2687: All declarations of 'hasInstance' must have identical modifiers.
Error:(471, 5) TS2687: All declarations of 'isConcatSpreadable' must have identical modifiers.
Error:(477, 5) TS2687: All declarations of 'iterator' must have identical modifiers.
Error:(483, 5) TS2687: All declarations of 'match' must have identical modifiers.
Error:(489, 5) TS2687: All declarations of 'replace' must have identical modifiers.
Error:(495, 5) TS2687: All declarations of 'search' must have identical modifiers.
Error:(501, 5) TS2687: All declarations of 'species' must have identical modifiers.
Error:(507, 5) TS2687: All declarations of 'split' must have identical modifiers.
Error:(513, 5) TS2687: All declarations of 'toPrimitive' must have identical modifiers.
Error:(519, 5) TS2687: All declarations of 'toStringTag' must have identical modifiers.
Error:(525, 5) TS2687: All declarations of 'unscopables' must have identical modifiers.
Error:(582, 5) TS2403: Subsequent variable declarations must have the same type. Variable '[Symbol.toStringTag]' must be of type '"Math"', but here has type 'string'.
Error:(582, 5) TS2687: All declarations of '[Symbol.toStringTag]' must have identical modifiers.
Error:(586, 5) TS2403: Subsequent variable declarations must have the same type. Variable '[Symbol.toStringTag]' must be of type '"JSON"', but here has type 'string'.
Error:(586, 5) TS2687: All declarations of '[Symbol.toStringTag]' must have identical modifiers.
Error:(601, 5) TS2687: All declarations of 'size' must have identical modifiers.
Error:(607, 5) TS2687: All declarations of 'prototype' must have identical modifiers.
Error:(618, 5) TS2687: All declarations of 'size' must have identical modifiers.
Error:(624, 5) TS2687: All declarations of 'prototype' must have identical modifiers.
Error:(639, 5) TS2687: All declarations of 'prototype' must have identical modifiers.
Error:(653, 5) TS2687: All declarations of 'prototype' must have identical modifiers.
Error:(665, 5) TS2687: All declarations of 'value' must have identical modifiers.
Error:(777, 5) TS2687: All declarations of 'prototype' must have identical modifiers.
/Users/vitiwary/Documents/workSpaces/ise_scale_poc/ISE_SPOG_WP/node_modules/typescript/lib/lib.es2015.core.d.ts
Error:(17, 14) TS2300: Duplicate identifier 'PropertyKey'.
mclouvem
@mclouvem
Jul 26 2016 17:41
Hi @all! I'm trying to import font-awesome into my project, but without success until now. Someone where already made it? Or Could someone guide me how to import it?
kenneth koontz
@kennethkoontz
Jul 26 2016 18:50
How do you install lodash without webpack complaining that it can’t find it?
As per docs, it looks like you could just npm install —save lodash && npm install —save @types/lodash but when webpack does it’s thing the following error occurs:
[default] /Users/kenneth/Projects/benchmark/web-client/src/app/api/resources/location.ts:3:20
Cannot find module 'lodash'.
In my service, I’m importing as such, import * as _ from 'lodash’;
lilowl
@lilowl
Jul 26 2016 19:21
hi folks .. how the heck do use my own SSL cert?
lilowl
@lilowl
Jul 26 2016 19:30
I got it .. dumb mistake
Aleš
@fxck
Jul 26 2016 20:56
I'm getting cannot find name 'require' from a fresh clone in VSC, any ideas?
as well as Experimental support for.. blah bla.. Set the 'experimentalDecorators' option to remove this.. blah blah even though it is set to true in tsconfig
it as if VSC didn't read tsconfig properly