Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 31 2021 18:01
    matesi opened #1598
  • Dec 23 2021 00:21
    github-actions[bot] closed #1591
  • Dec 13 2021 08:39
    lierdakil closed #1597
  • Dec 13 2021 05:04
    saadq opened #1597
  • Dec 09 2021 00:19
    github-actions[bot] labeled #1591
  • Dec 05 2021 08:09
    QuintiDani opened #1596
  • Nov 18 2021 18:59
    danieltroger opened #1595
  • Nov 11 2021 00:19
    github-actions[bot] closed #1589
  • Nov 09 2021 20:22
    ChronomancerDev opened #1594
  • Oct 31 2021 20:04
    lierdakil closed #1590
  • Oct 28 2021 12:01
    ayame113 closed #1587
  • Oct 28 2021 11:50
    lierdakil unlabeled #1590
  • Oct 28 2021 11:49
    lierdakil assigned #1590
  • Oct 28 2021 00:18
    github-actions[bot] labeled #1589
  • Oct 28 2021 00:18
    github-actions[bot] labeled #1590
  • Oct 27 2021 08:49
    droid001 closed #1593
  • Oct 27 2021 08:34
    droid001 edited #1593
  • Oct 25 2021 14:30
    droid001 opened #1593
  • Oct 11 2021 00:18
    github-actions[bot] closed #1586
  • Oct 11 2021 00:18
    github-actions[bot] closed #1588
Basarat Ali Syed
@basarat
Making components with well defined semantic meanings for layout 🌹
Tom Duncalf
@tomduncalf
hey. wondering if anyone knows how to hide the atom-typescript status bar entirely?
it doesn't really show me anything that useful given that i am using linter and takes up a bit of vertical space
kpgarrod
@kpgarrod
It seems the latest trend with Angular development is to embed template code in the component definition (i.e. a typescript file). If I do that in Atom, I (understandably) don't get syntax highlighting etc. for the html. Is there any way to get that back?
Yuriy Yazlovytskyy
@yazla
Hi All, can anyone please advice on how disable output of the js files for each of my ts files?
Tom Duncalf
@tomduncalf
@yazla I am not sure if this is possible... I just exclude them from my git
Blake Embrey
@blakeembrey
depends on what you want to do, you can enable noEmit in the compiler options
Dominic Böttger
@DominicBoettger
How can i use atom typescript with this: https://gist.github.com/robwormald/429e01c6d802767441ec
Dominic Böttger
@DominicBoettger
I upgraded my typescript version. Now i get an error in my node modules: import geohash = require('ngeohash'); It says i should use another format like import {geohash} from "ngeohash". But this doesn't seem to work with node....
I upgraded my typescript version. Now i get an error in my node modules: import geohash = require('ngeohash'); It says i should use another format like import {geohash} from "ngeohash". But this doesn't seem to work with node....
Basarat Ali Syed
@basarat
@DominicBoettger think that error is TypeScript specific. TIP : make sure you have type definitions for ngeohash :rose:
Tom
@datoml
Hello :)
I have some trouble with the option "preferred quote character"
I inserted ' - But when I do import -> tab -> tab the snipped is with double quotes
Leigh Caplan
@texel
This message was deleted
This message was deleted
This message was deleted
This message was deleted
mLaird
@mLaird
I have the same problem that was discussed in an October 20, 2015 session, https://gitter.im/TypeStrong/atom-typescript/archives/2015/10/20 that I get the error - is not included in the Typescript compilation context - even though the file is included in the "files":[] array in my tsconfig.json. I have refreshed that array several times. I have the latest 8.3.0 update of atom-typescript. Does anyone know the solution to this problem?
Akash Mohapatra
@akashmohapatra
Hi..checking out atom-typescript the first time today..seeing a weird issue with respect to the "outDir" configuration in tsconfig.json and "compileOnSave" set to true. The generated JS seems to be losing folders from the path of the source TS sometimes..Similar to this - https://gitter.im/TypeStrong/atom-typescript/archives/2015/05/21 Any ideas?
Jari Pennanen
@Ciantic
@basarat I intrude again this channel only to inquire your thoughts: have you figured out what is the best way to do flux/redux in TypeScript? It's hard to find a good implementation that takes typing in to account
I tried to figure this one out: https://github.com/jaysoo/todomvc-redux-react-typescript but uncertain if this is a good way
this is of course a broad question, if you haven't looked in to how to do redux in TS I'm not expecting you to do so :)
the flux is doable in type safe way but it has more boilerplate than I would like to
David Driscoll
@david-driscoll
Anyone know the cause of the problem on Windows, where the child process get's hung up on something, and then forces the parent process to hang? If I kill the child process things setting back to normal for a little bit, then it hangs again... looking at the worker code everything should be non-blocking, so I can't understand how it would block.
Maybe it's the send blocking and it's not able to send the info to the other process...
Basarat Ali Syed
@basarat
@Ciantic checkout https://github.com/alm-tools/alm/blob/master/docs/contributing/REDUX.md :rose: Feel free to create an issue at https://github.com/alm-tools/alm/issues if you have another question. That and a few other repositories are the only ones I'm watching and generally only doing OSS on fridays now ¯\_(ツ)_/¯
@david-driscoll I've seen that happen too. Don't have any helpful clues though. I suspect its just they way atom internal node is hosted < that's what I blame when I don't have a good reason I understand yet :rose:
David Driscoll
@david-driscoll
@basarat what's interesting is that I don't see something similar with omnisharp-atom, I was thinking of making some local changes to switch to stdio instead of ipc (write messages to the output, read messages from the input) and to see if I still experienced the problem... next time I run into being fairly repeatable I think I will.
Tay Nelson
@TayNelson
Hi. How can I enable this visual alert? It is not currently displayed for me (Atom Version 1.5.4) screenshot
Jari Pennanen
@Ciantic
@basarat holy crap, very useful! Thanks. I was figuring this same thing out myself, how to typescriptify the redux. Was just about refactor handleActions and createAction (from redux-actions package) to something more typesafe, but you've done something similar already.
Jari Pennanen
@Ciantic
btw, I think you still are doing way more OSS contributions than my sanity would allow
like answering random people on gitter while on leave travelling world, I think it's totally unneccessary
Basarat Ali Syed
@basarat
@TayNelson that message started to annoy people. So now we show a little indicator in the TypeScript toolbar on the bottom
blob
Urban Lavbič
@xban1x
Can i ask how to enable Angular 2 support ??
So i don't get errors on importing Angular 2 related stuff??
mLaird
@mLaird
@xban1x Can you be more specific? I've been using Atom to build Angular2 apps for several months and have never had a problem with something Angular2 specific.
David Driscoll
@david-driscoll
@xban1x make sure you have "moduleResolution": "node" set, that might be problem you're experiencing
Daphne Maddox
@laurelnaiad
… and have paths that match most (if not all) of the angular d.ts files in your filesGlob….
Benjamin Bock
@bb
Hi there! I have found a small syntax highlighting glitch in the ts and tsx syntax which is fine in the js syntax. The code example is actually valid js as well:
    var x = bar ? `/${bar}` : (baz ? `/${baz.bar}` : "");
are those ts.cson grammar files written by hand or generated from some base files? Do they inherit from other files or are they fully self-contained? I'd see if I can fix it myself before creating a ticket.

btw, the issue is that the second string is not highlighted as a string.

`/${baz.bar}`

With the parenthesis removed, the second backtick of the second string is treated as the start of a multi line string which makes all the following lines string-colored

const foo = bar ? `/${bar}` : baz ? `/${baz.bar}` : "";
Josh
@joshkopecek
Is there a way to specify a custom tsconfig.json file?
Daphne Maddox
@laurelnaiad
@joshkopecek what do you mean by “custom”? You can use multiple tsconfig.json files in one project, if that’s what you mean. Occasionally this confuses atom-typescript but it works well enough to be considered reaonsable IMO.
Josh
@joshkopecek
I mean I have a tsconfig.test.json file as well as a tsconfig.json file.
@laurelnaiad
Daphne Maddox
@laurelnaiad
I don’t think that would work without some changes to atom-typescript.