Coffeehouse Post

Single Post Permalink

View Thread: TypeScript is JavaScript...
  • User profile image


    Just watched the video. Looks promising. With enough tutorial and community support, I will totally jump on it.

    Didn't see watch it clearly, but, how do I mix and match JavaScript? I mean, if I didn't include the declaration file, can I still use it? So, what is going to happen when I use TypeScript to a method that takes ANY and return ANY?

    One scenario is that I want to have a strange method that can basically works for ANY. Like perhaps adding new attribute to ANY type? I don't know if this is possible in JS yet, but, I remember a bit that this can be done.